fix sneak wrenching
This commit is contained in:
parent
2e835de674
commit
45747db90a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue