From d281860b81920463058b22670fb3ea3cbb7e7a70 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 16 Oct 2023 14:25:24 +0200 Subject: [PATCH] Fix SmartPlaceListener --- .../bausystem/features/smartplace/SmartPlaceListener.java | 1 - 1 file changed, 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java index 00931ca9..07748a98 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java @@ -100,7 +100,6 @@ public class SmartPlaceListener implements Plain, Listener { private void run(Player player, Object packet, boolean first, boolean sneaking, boolean shouldSneak) { Bukkit.getScheduler().runTaskLater(BauSystem.getInstance(), () -> { - if (sneaking) SMART_PLACING.add(player); player.setSneaking(shouldSneak || sneaking); packetExecutor.invoke(playerConnection.get(getHandle.invoke(player)), packet);