mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
registering traits no longer requires a String parameter
This commit is contained in:
parent
d30d892982
commit
9bb9abf700
Binary file not shown.
@ -167,10 +167,10 @@ public class Citizens extends JavaPlugin {
|
|||||||
registerCommands();
|
registerCommands();
|
||||||
registerPermissions();
|
registerPermissions();
|
||||||
|
|
||||||
traitManager.register("location", SpawnLocation.class);
|
traitManager.register(SpawnLocation.class);
|
||||||
traitManager.register("owner", Owner.class);
|
traitManager.register(Owner.class);
|
||||||
traitManager.register("spawned", Spawned.class);
|
traitManager.register(Spawned.class);
|
||||||
traitManager.register("look-close", LookClose.class);
|
traitManager.register(LookClose.class);
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new NPCUpdater(npcManager), 0, 1);
|
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new NPCUpdater(npcManager), 0, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user