From a4bfc9d92e8c22b008c9d195e1fb24cd7dec36a7 Mon Sep 17 00:00:00 2001 From: Goodbird Date: Mon, 22 Jan 2024 22:41:18 +0300 Subject: [PATCH] Removed the ability to use an NPC wand on a scripted block --- src/main/java/noppes/npcs/blocks/BlockScripted.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/noppes/npcs/blocks/BlockScripted.java b/src/main/java/noppes/npcs/blocks/BlockScripted.java index 0a08b68a1..b004105c6 100644 --- a/src/main/java/noppes/npcs/blocks/BlockScripted.java +++ b/src/main/java/noppes/npcs/blocks/BlockScripted.java @@ -58,7 +58,7 @@ public class BlockScripted extends BlockContainer { if (world.isRemote) return true; ItemStack currentItem = player.inventory.getCurrentItem(); - if (currentItem != null && (currentItem.getItem() == CustomItems.wand || currentItem.getItem() == CustomItems.scripter)) { + if (currentItem != null && (currentItem.getItem() == CustomItems.scripter)) { NoppesUtilServer.sendOpenGui(player, EnumGuiType.ScriptBlock, null, x, y, z); return true; }