You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Tested with Steak but may work with other food items. right-clicking to eat the food item in Minecraft results in 1 qty of the food item being deducted, even if the player has a full hunger bar. The eating animation doesn't play on the client.
The text was updated successfully, but these errors were encountered:
Craft.Net.Server/EntityManager.cs line 406 the following should be inserted:
if (player.Food >= 20)
return;
Simple. Although I also notice that the first time a player eats after logging in, the eating has no effect. Or perhaps the packet indicating EatingAccepted is being sent before the values are changed, when it should be sent after instead?
This no longer appears to happen. However, now it seems that eating food when player.Food is less than 20 has no affect. The animation plays, but the food meter does not increase.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tested with Steak but may work with other food items. right-clicking to eat the food item in Minecraft results in 1 qty of the food item being deducted, even if the player has a full hunger bar. The eating animation doesn't play on the client.
The text was updated successfully, but these errors were encountered: