diff --git a/src/main/java/com/simibubi/create/content/contraptions/glue/SuperGlueSelectionHandler.java b/src/main/java/com/simibubi/create/content/contraptions/glue/SuperGlueSelectionHandler.java index 13ba07060..e229cae8b 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/glue/SuperGlueSelectionHandler.java +++ b/src/main/java/com/simibubi/create/content/contraptions/glue/SuperGlueSelectionHandler.java @@ -189,6 +189,8 @@ public class SuperGlueSelectionHandler { if (!isGlue(player.getMainHandItem())) return false; + if(!player.mayBuild()) + return false; if (attack) { if (selected == null) diff --git a/src/main/java/com/simibubi/create/content/kinetics/crank/ValveHandleBlock.java b/src/main/java/com/simibubi/create/content/kinetics/crank/ValveHandleBlock.java index a67a498ce..a4d378d64 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/crank/ValveHandleBlock.java +++ b/src/main/java/com/simibubi/create/content/kinetics/crank/ValveHandleBlock.java @@ -64,6 +64,8 @@ public class ValveHandleBlock extends HandCrankBlock { if (!(blockState.getBlock() instanceof ValveHandleBlock vhb)) return; + if (!player.mayBuild()) + return; if (AllItems.WRENCH.isIn(player.getItemInHand(event.getHand())) && player.isSteppingCarefully()) return;