removed duplicate code
This commit is contained in:
parent
4a53667539
commit
49c735e43c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user