From 262f659ffab30fd8207a7b6975f1473725a35176 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Sun, 20 Mar 2016 15:46:57 -0500 Subject: [PATCH] Fix with TurfForts infinite while loop. --- .../nautilus/game/arcade/game/games/turfforts/TurfForts.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/turfforts/TurfForts.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/turfforts/TurfForts.java index 7b5a20b00..15952925a 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/turfforts/TurfForts.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/turfforts/TurfForts.java @@ -369,7 +369,7 @@ public class TurfForts extends TeamGame //On Own Block block = event.getBlock().getRelative(BlockFace.DOWN); - while (block.getTypeId() == 0) + while (block.getTypeId() == 0 && block.getY() > 0) block = block.getRelative(BlockFace.DOWN); if (block.getData() != team.GetColorData())