From 371093df3249463b952e20c3231a641fd7a6246e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 27 May 2012 13:29:15 +0200 Subject: [PATCH] Revert again for Bukkit 3.0 --- .../bukkit/bloodmoon/entities/BloodMoonEntitySkeleton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uk/co/jacekk/bukkit/bloodmoon/entities/BloodMoonEntitySkeleton.java b/src/uk/co/jacekk/bukkit/bloodmoon/entities/BloodMoonEntitySkeleton.java index 06cd13d..357e3a5 100755 --- a/src/uk/co/jacekk/bukkit/bloodmoon/entities/BloodMoonEntitySkeleton.java +++ b/src/uk/co/jacekk/bukkit/bloodmoon/entities/BloodMoonEntitySkeleton.java @@ -1,9 +1,9 @@ package uk.co.jacekk.bukkit.bloodmoon.entities; import java.lang.reflect.Field; +import java.util.ArrayList; import org.bukkit.Location; -import org.bukkit.craftbukkit.util.UnsafeList; import org.bukkit.entity.Skeleton; import uk.co.jacekk.bukkit.bloodmoon.BloodMoon; @@ -28,7 +28,7 @@ public class BloodMoonEntitySkeleton extends net.minecraft.server.EntitySkeleton a.setAccessible(true); @SuppressWarnings("unchecked") - UnsafeList goals = (UnsafeList) a.get(this.goalSelector); + ArrayList goals = (ArrayList) a.get(this.goalSelector); for (Object item : goals){ Field goal = item.getClass().getDeclaredField("a");