mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-09-21 21:21:45 +02:00
fix sneak wrenching
This commit is contained in:
parent
2e835de674
commit
45747db90a
@ -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 New Issue
Block a user