- Fixed Lightmine Field.

This commit is contained in:
Sloth
2012-12-21 17:22:59 +00:00
parent ceddf57abb
commit ce6f20f0e0

View File

@@ -1021,6 +1021,7 @@ public class AbilityFactory {
if (o instanceof List<?>) { if (o instanceof List<?>) {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
final List<Player> pList = (List<Player>) o; final List<Player> pList = (List<Player>) o;
if (!pList.isEmpty() && pList.get(0) instanceof Player) {
for (final Player p : pList) { for (final Player p : pList) {
if (!players.contains(p)) { if (!players.contains(p)) {
players.add(p); players.add(p);
@@ -1028,6 +1029,7 @@ public class AbilityFactory {
} }
} }
} }
}
} else if (defined.startsWith("Replaced")) { } else if (defined.startsWith("Replaced")) {
final SpellAbility root = sa.getRootAbility(); final SpellAbility root = sa.getRootAbility();
Object o = null; Object o = null;