Pointless

This commit is contained in:
Shevchik 2013-11-14 16:53:23 +04:00
parent 16fce317a1
commit 38c681864a

View File

@ -16,7 +16,6 @@ import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.event.player.PlayerTeleportEvent;
import org.bukkit.material.Stairs;
import org.bukkit.material.Step;
import org.bukkit.material.WoodenStep;
@ -54,15 +53,6 @@ public class EventListener implements Listener {
}
}
@EventHandler(priority=EventPriority.MONITOR,ignoreCancelled=true)
public void onTeleport(PlayerTeleportEvent e)
{
if (plugin.sit.containsKey(e.getPlayer().getName()))
{
plugin.unSitPlayer(e.getPlayer(), true);
}
}
@EventHandler(priority=EventPriority.MONITOR,ignoreCancelled=true)
public void onBlockBreak(BlockBreakEvent event)
{