From abcf43dd9f54af61607533d123076a9936cb6c79 Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 27 Feb 2012 21:19:40 +0800 Subject: [PATCH] Fix build --- src/main/java/net/citizensnpcs/Citizens.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/Citizens.java b/src/main/java/net/citizensnpcs/Citizens.java index 2c88d91df..751c50d05 100644 --- a/src/main/java/net/citizensnpcs/Citizens.java +++ b/src/main/java/net/citizensnpcs/Citizens.java @@ -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 characterManager = new DefaultInstanceFactory(Derp.class); + private final InstanceFactory characterManager = DefaultInstanceFactory.create(Derp.class); private final InstanceFactory traitManager = DefaultInstanceFactory.create(Owner.class, Spawned.class, LookClose.class, SpawnLocation.class, Inventory.class, MobType.class); private final CommandManager commands = new CommandManager();