Fixed Sel Mahum training groups.

This commit is contained in:
MobiusDevelopment
2019-06-09 05:01:07 +00:00
parent 712e2458b1
commit 7911fe332f
27 changed files with 6418 additions and 6418 deletions

View File

@ -1468,7 +1468,7 @@ public class Npc extends Creature
*/
public boolean isInMySpawnGroup(Npc npc)
{
return ((getSpawn() != null) && (npc.getSpawn() != null) && (getSpawn().getName() != null) && (getSpawn().getName().equals(npc.getSpawn().getName())));
return getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName().equals(npc.getSpawn().getNpcSpawnTemplate().getSpawnTemplate().getName());
}
/**