removed duplicate code

This commit is contained in:
Cheese 2015-12-05 10:34:06 +11:00
parent 4a53667539
commit 49c735e43c

View File

@ -38,20 +38,6 @@ public class DoubleJumpTitan extends DoubleJumpEffectGadget
ViewDist.NORMAL, UtilServer.getPlayers());
}
@EventHandler
public void jump(PlayerToggleFlightEvent event)
{
if (!shouldDisplay(event.getPlayer()))
return;
if (!event.getPlayer().isFlying())
if (IsActive(event.getPlayer()))
{
UtilParticle.PlayParticle(ParticleType.LAVA, event.getPlayer().getLocation(), 0f, 0f, 0f, 0.2f, 40,
ViewDist.NORMAL, UtilServer.getPlayers());
}
}
@EventHandler
public void titanOwner(PlayerJoinEvent event)
{