From e7d3cf9e02a6161a3c21c1d55899516b054c1f66 Mon Sep 17 00:00:00 2001 From: CoderTim Date: Mon, 4 Aug 2014 01:06:11 -0400 Subject: [PATCH] Sneaky Assassins previous commit bug fix --- .../arcade/game/games/sneakyassassins/npc/NpcManager.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/sneakyassassins/npc/NpcManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/sneakyassassins/npc/NpcManager.java index 620a9d369..12c20e22f 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/sneakyassassins/npc/NpcManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/sneakyassassins/npc/NpcManager.java @@ -112,7 +112,10 @@ public class NpcManager implements Listener Location candidate = location.clone().add(dx, 0, dz); Block block = candidate.getBlock(); - if (block.isEmpty() && block.getRelative(BlockFace.UP).isEmpty()) + if (!block.getRelative(BlockFace.DOWN).isEmpty() && + !block.getRelative(BlockFace.DOWN).isLiquid() && + block.isEmpty() && + block.getRelative(BlockFace.UP).isEmpty()) { location = candidate;