mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Removed the ability to use an NPC wand on a scripted block
This commit is contained in:
1 parent
7e425fd781
commit
a4bfc9d92e
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user