From f2c72d9328caf8361fbc0b75c78e17e0146b286b Mon Sep 17 00:00:00 2001 From: Grafe Date: Sun, 5 May 2013 03:09:15 +0200 Subject: [PATCH] Fixed: Cave Spider don't attack you in daylight Signed-off-by: Grafe --- src/com/dre/dungeonsxl/game/GameWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/dre/dungeonsxl/game/GameWorld.java b/src/com/dre/dungeonsxl/game/GameWorld.java index 312b2e8f..58841bff 100644 --- a/src/com/dre/dungeonsxl/game/GameWorld.java +++ b/src/com/dre/dungeonsxl/game/GameWorld.java @@ -225,7 +225,7 @@ public class GameWorld { for (GameWorld gworld : gworlds) { // Update Spiders for (LivingEntity mob : gworld.world.getLivingEntities()) { - if (mob.getType() == EntityType.SPIDER) { + if (mob.getType() == EntityType.SPIDER || mob.getType() == EntityType.CAVE_SPIDER) { Spider spider = (Spider) mob; if (spider.getTarget() != null) { if (spider.getTarget().getType() == EntityType.PLAYER) {