Merge branch 'mc1.18/dev' of https://github.com/Creators-of-Create/Create into mc1.18/dev

This commit is contained in:
simibubi 2023-09-20 09:58:06 +02:00
commit f327f0bb7f
2 changed files with 4 additions and 0 deletions

View file

@ -189,6 +189,8 @@ public class SuperGlueSelectionHandler {
if (!isGlue(player.getMainHandItem()))
return false;
if(!player.mayBuild())
return false;
if (attack) {
if (selected == null)

View file

@ -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;