/*
 * Copyright  2014 - 2016 | 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 tk.wurst_client.features.mods;

import net.minecraft.client.gui.GuiScreen;
import tk.wurst_client.events.listeners.DeathListener;

@Mod.Info(description = "Automatically respawns you whenever you die.",
	name = "AutoRespawn",
	tags = "auto respawn",
	help = "Mods/AutoRespawn")
@Mod.Bypasses
public class AutoRespawnMod extends Mod implements DeathListener
{
	@Override
	public void onEnable()
	{
		wurst.events.add(DeathListener.class, this);
	}
	
	@Override
	public void onDisable()
	{
		wurst.events.remove(DeathListener.class, this);
	}
	
	@Override
	public void onDeath()
	{
		mc.player.respawnPlayer();
		mc.displayGuiScreen((GuiScreen)null);
	}
}

@@ -315,51 +315,8 @@
 s;%0A%0A
-import net.minecraft.client.gui.GuiScreen;%0A
 impo
@@ -871,19 +871,8 @@
 een(
-(GuiScreen)
 null

Clean up AutoRespawnMod