Properly register character

This commit is contained in:
fullwall 2012-02-27 21:13:46 +08:00
parent e600bdc7e2
commit 081c481036

View File

@ -56,7 +56,7 @@ public class Citizens extends JavaPlugin {
private static final String COMPATIBLE_MC_VERSION = "1.1"; private static final String COMPATIBLE_MC_VERSION = "1.1";
private volatile CitizensNPCManager npcManager; 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, private final InstanceFactory<Trait> traitManager = DefaultInstanceFactory.create(Owner.class, Spawned.class,
LookClose.class, SpawnLocation.class, Inventory.class, MobType.class); LookClose.class, SpawnLocation.class, Inventory.class, MobType.class);
private final CommandManager commands = new CommandManager(); private final CommandManager commands = new CommandManager();