Fixed eating spider eye. Yay!
This commit is contained in:
parent
046fa4f8b6
commit
33d78a5efd
@ -849,11 +849,17 @@ public class GameFlagManager implements Listener
|
||||
|
||||
if (game.HungerSet != -1)
|
||||
for (Player player : game.GetPlayers(true))
|
||||
{
|
||||
player.setFoodLevel(game.HungerSet);
|
||||
player.setSaturation(1F);
|
||||
}
|
||||
|
||||
if (game.HealthSet != -1)
|
||||
for (Player player : game.GetPlayers(true))
|
||||
{
|
||||
player.setHealth(game.HealthSet);
|
||||
player.setSaturation(1F);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
|
Loading…
Reference in New Issue
Block a user