From 33d78a5efd7d8a1a0a4f998f4a9545322e3a5a3a Mon Sep 17 00:00:00 2001 From: Mysticate Date: Sun, 30 Aug 2015 18:39:07 -0400 Subject: [PATCH] Fixed eating spider eye. Yay! --- .../src/nautilus/game/arcade/managers/GameFlagManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java index 97ebf6af2..b535e12a6 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameFlagManager.java @@ -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)