mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-25 18:47:40 +01:00
Properly register character
This commit is contained in:
parent
6972dba611
commit
7bd412f646
@ -56,7 +56,7 @@ public class Citizens extends JavaPlugin {
|
||||
private static final String COMPATIBLE_MC_VERSION = "1.1";
|
||||
|
||||
private volatile CitizensNPCManager npcManager;
|
||||
private final InstanceFactory<Character> characterManager = new DefaultInstanceFactory<Character>();
|
||||
private final InstanceFactory<Character> characterManager = new DefaultInstanceFactory<Character>(Derp.class);
|
||||
private final InstanceFactory<Trait> traitManager = DefaultInstanceFactory.create(Owner.class, Spawned.class,
|
||||
LookClose.class, SpawnLocation.class, Inventory.class, MobType.class);
|
||||
private final CommandManager commands = new CommandManager();
|
||||
|
Loading…
Reference in New Issue
Block a user