zone loading
This commit is contained in:
1 parent
9e0fa541a2
commit
c43c3de18a
1 file changed
+5
-1
@@ -656,9 +656,13 @@ public class WorldServer {
|
||||
npcs = DbManager.NPCQueries.GET_ALL_NPCS_FOR_ZONE(zone);
|
||||
|
||||
for (NPC n : npcs) {
|
||||
|
||||
if(n == null)
|
||||
continue;
|
||||
|
||||
n.setObjectTypeMask(MBServerStatics.MASK_NPC);
|
||||
|
||||
if(n.contract.getContractID() == 1200) {
|
||||
if(n.contract != null && n.contract.getContractID() == 1200) {
|
||||
DbManager.NPCQueries.DELETE_NPC(n);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user