mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Reduce hunger granted by eating placed hay bales
This commit is contained in:
parent
bee81cae74
commit
36a8a9d018
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ public class EdibleBlock extends HayBlock {
|
||||||
if (world.random.nextInt(10) == 0) {
|
if (world.random.nextInt(10) == 0) {
|
||||||
player.playSound(USounds.Vanilla.ENTITY_PLAYER_BURP, 1, player.getSoundPitch());
|
player.playSound(USounds.Vanilla.ENTITY_PLAYER_BURP, 1, player.getSoundPitch());
|
||||||
}
|
}
|
||||||
player.getHungerManager().add(4, 2.3F);
|
player.getHungerManager().add(2, 1.3F);
|
||||||
}
|
}
|
||||||
return ActionResult.SUCCESS;
|
return ActionResult.SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue