Fix build

This commit is contained in:
fullwall 2012-02-27 21:19:40 +08:00
parent 7bd412f646
commit abcf43dd9f

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>(Derp.class); private final InstanceFactory<Character> characterManager = DefaultInstanceFactory.create(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();