Patches in AT trainer. Added BeanShellView.

This commit is contained in:
Zukero
2015-08-10 17:37:47 +02:00
parent adf65b47db
commit e5747d2995
10 changed files with 156 additions and 24 deletions

View File

@@ -849,6 +849,11 @@ public class Project implements ProjectTreeNode, Serializable {
}
alreadyAdded = false;
}
if (result.isEmpty()) {
//Fallback case. A single NPC does not declare a spawn group, but is referred by its ID in maps' spawn areas.
NPC npc = getNPC(spawngroup_id);
if (npc != null) result.add(npc);
}
return result;
}