diff --git a/src/com/cnaude/chairs/EventListener.java b/src/com/cnaude/chairs/EventListener.java index 5df81a3..8b306eb 100644 --- a/src/com/cnaude/chairs/EventListener.java +++ b/src/com/cnaude/chairs/EventListener.java @@ -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) {