From 59599261ff284bfe123f11ea6df37b164d206037 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Mon, 12 Apr 2021 16:08:31 +0200 Subject: [PATCH] Fixes https://issues.intellectualsites.com/issue/PS-237 --- .../bukkit/listener/PlayerEventListener.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java index e8e453ad3..bdcec6f11 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEventListener.java @@ -1115,17 +1115,6 @@ public class PlayerEventListener extends PlotListener implements Listener { } break; } - case LEFT_CLICK_BLOCK: { - location = BukkitUtil.adapt(block.getLocation()); - //eventType = PlayerBlockEventType.BREAK_BLOCK; - blocktype1 = BukkitAdapter.asBlockType(block.getType()); - if (block.getType() == Material.DRAGON_EGG) { - eventType = PlayerBlockEventType.TELEPORT_OBJECT; - break; - } - - return; - } default: return; }