mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Properly register character
This commit is contained in:
parent
e600bdc7e2
commit
081c481036
@ -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