public @Override void onPlayerMove(PlayerMoveEvent event)
{
Player player = event.getPlayer();
EpicGatesPlayer egp = General.myPlayers.get(player.getName());
if (egp != null)
{
if (egp.shouldCheck())
{
egp.Check();
EpicGate gate = GetGateForPlayerLocation(event.getTo());
if (gate != null)
{
if (gate.isAllowed(player))
{
Warp(event, gate, egp);
egp.Teleported();
}
}
}
}
}