Remove anti-fly-kick

This commit is contained in:
samczsun 2016-06-01 16:43:46 -04:00 committed by Sam Sun
parent dc419cb53c
commit 3444c9c7d7

View File

@ -694,15 +694,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
}, 20L); }, 20L);
} }
@EventHandler
public void disableFlyKick(PlayerKickEvent event)
{
if (event.getReason().toLowerCase().contains("flying is not enabled on this server"))
{
event.setCancelled(true);
}
}
@EventHandler @EventHandler
public void denyBow(EntityShootBowEvent event) public void denyBow(EntityShootBowEvent event)
{ {