/*
 * Copyright  2014 - 2017 | Wurst-Imperium | All rights reserved.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package net.wurstclient.features.mods.fun;

import net.minecraft.network.play.client.CPacketPlayer;
import net.wurstclient.compatibility.WConnection;
import net.wurstclient.compatibility.WMinecraft;
import net.wurstclient.events.listeners.UpdateListener;
import net.wurstclient.features.HelpPage;
import net.wurstclient.features.Mod;

@HelpPage("Mods/Tired")
@Mod.Bypasses(ghostMode = false, latestNCP = false, olderNCP = false)
public final class TiredMod extends Mod implements UpdateListener
{
	public TiredMod()
	{
		super("Tired", "While this is active, other people will think you are\n"
			+ "extremely tired and about to fall asleep!");
	}
	
	@Override
	public void onEnable()
	{
		wurst.events.add(UpdateListener.class, this);
	}
	
	@Override
	public void onDisable()
	{
		wurst.events.remove(UpdateListener.class, this);
	}
	
	@Override
	public void onUpdate()
	{
		WConnection.sendPacket(
			new CPacketPlayer.Rotation(WMinecraft.getPlayer().rotationYaw,
				WMinecraft.getPlayer().ticksExisted % 100,
				WMinecraft.getPlayer().onGround));
	}
}

@@ -562,79 +562,13 @@
 res.
-HelpPage;%0Aimport net.wurstclient.features.Mod;%0A%0A@HelpPage(%22Mods/Tired%22)
+Mod;%0A
 %0A@Mo
@@ -746,90 +746,33 @@
 %22, %22
-While this is active, other people will think you are%5Cn%22%0A%09%09%09+ %22extremely tired and
+Makes it look like you're
  abo
@@ -792,9 +792,9 @@
 leep
-!
+.
 %22);%0A

Update TiredMod