fix sneak wrenching

This commit is contained in:
LordGrimmauld 2020-06-11 15:51:07 +02:00
parent 2e835de674
commit 45747db90a

View file

@ -25,7 +25,7 @@ public class WrenchItem extends Item {
IWrenchable actor = (IWrenchable) state.getBlock();
if (player.isSneaking()) {
actor.onSneakWrenched(state, context);
return actor.onSneakWrenched(state, context);
}
return actor.onWrenched(state, context);
}