registering traits no longer requires a String parameter

This commit is contained in:
aPunch 2012-02-03 17:44:18 -06:00
parent d30d892982
commit 9bb9abf700
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -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);