diff --git a/src/main/java/de/erethon/dungeonsxl/world/DGameWorld.java b/src/main/java/de/erethon/dungeonsxl/world/DGameWorld.java index c34bcac1..ffca47cb 100644 --- a/src/main/java/de/erethon/dungeonsxl/world/DGameWorld.java +++ b/src/main/java/de/erethon/dungeonsxl/world/DGameWorld.java @@ -494,33 +494,6 @@ public class DGameWorld extends DInstanceWorld { worlds.removeInstance(this); } - /** - * Ongoing updates - */ - public void update() { - if (getWorld() == null) { - return; - } - - // Update Spiders - for (LivingEntity mob : getWorld().getLivingEntities()) { - if (mob.getType() == EntityType.SPIDER || mob.getType() == EntityType.CAVE_SPIDER) { - Spider spider = (Spider) mob; - if (spider.getTarget() != null) { - if (spider.getTarget().getType() == EntityType.PLAYER) { - continue; - } - } - - for (Entity player : spider.getNearbyEntities(10, 10, 10)) { - if (player.getType() == EntityType.PLAYER) { - spider.setTarget((LivingEntity) player); - } - } - } - } - } - /** * Handles what happens when a player breaks a block. *