Add onSpawn to another area of Waypoints

This commit is contained in:
fullwall 2019-08-12 20:49:36 +08:00
parent 5a6820957e
commit 950ab24800

View File

@ -75,6 +75,9 @@ public class Waypoints extends Trait {
}
if (provider == null)
return;
if (npc != null) {
provider.onSpawn(npc);
}
PersistenceLoader.load(provider, key.getRelative(providerName));
}