mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-25 22:02:59 +02:00
Add onSpawn to another area of Waypoints
This commit is contained in:
parent
5a6820957e
commit
950ab24800
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user