hunger games

This commit is contained in:
grimmauld 2020-10-02 11:40:12 +02:00
parent fd9dd5feae
commit f364e341a4

View file

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