mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
hunger games
This commit is contained in:
parent
fd9dd5feae
commit
f364e341a4
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ public class HandCrankBlock extends DirectionalKineticBlock implements ITE<HandC
|
||||||
return ActionResultType.PASS;
|
return ActionResultType.PASS;
|
||||||
|
|
||||||
withTileEntityDo(worldIn, pos, te -> te.turn(player.isSneaking()));
|
withTileEntityDo(worldIn, pos, te -> te.turn(player.isSneaking()));
|
||||||
|
player.addExhaustion(getRotationSpeed()/100.f);
|
||||||
return ActionResultType.SUCCESS;
|
return ActionResultType.SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue