diff --git a/src/main/java/com/direwolf20/mininggadgets/common/items/MiningGadget.java b/src/main/java/com/direwolf20/mininggadgets/common/items/MiningGadget.java index 15514f22..9a119958 100644 --- a/src/main/java/com/direwolf20/mininggadgets/common/items/MiningGadget.java +++ b/src/main/java/com/direwolf20/mininggadgets/common/items/MiningGadget.java @@ -208,10 +208,16 @@ public ActionResult onItemRightClick(World world, PlayerEntity player // return ActionResult.resultPass(itemstack); } - if (OurKeys.shiftClickGuiBinding.getKey() == InputMappings.INPUT_INVALID) { - ModScreens.openGadgetSettingsScreen(itemstack); - return ActionResult.resultPass(itemstack); + if (world.isRemote) { + if (OurKeys.shiftClickGuiBinding.getKey() == InputMappings.INPUT_INVALID) { + ModScreens.openGadgetSettingsScreen(itemstack); + return ActionResult.resultPass(itemstack); + } } + + // INTENTIONALLY LEFT IN. I DON'T HAVE THE TIME TO FIX THIS ISSUE ATM + // @todo: migrate keybinding setting onto gadget so I can set a tag on the item + return ActionResult.resultPass(itemstack); } if (world.isRemote) {