From c62ea3a33e3a697fdd37f1bd49a06668499932bc Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 4 Jun 2021 00:04:35 +0200 Subject: [PATCH] Add NoClipCommand Inventory Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/features/other/NoClipCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/other/NoClipCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/other/NoClipCommand.java index b544a97f..789b0696 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/other/NoClipCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/other/NoClipCommand.java @@ -69,7 +69,7 @@ public class NoClipCommand extends SWCommand implements Listener { } } }); - ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(BauSystem.getInstance(), PacketType.Play.Client.USE_ITEM, PacketType.Play.Client.BLOCK_DIG) { + ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(BauSystem.getInstance(), PacketType.Play.Client.USE_ITEM, PacketType.Play.Client.BLOCK_DIG, PacketType.Play.Client.WINDOW_CLICK) { @Override public void onPacketReceiving(PacketEvent event) { if (NOCLIPS.contains(event.getPlayer())) {