From d1aee6d6faf94ffcdf95061cfdac3dff8bb5afe1 Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 17 Sep 2012 18:20:15 +0800 Subject: [PATCH] Fix CITIZENS-186 --- src/main/java/net/citizensnpcs/trait/Controllable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/trait/Controllable.java b/src/main/java/net/citizensnpcs/trait/Controllable.java index b812edf6b..5dd24098d 100644 --- a/src/main/java/net/citizensnpcs/trait/Controllable.java +++ b/src/main/java/net/citizensnpcs/trait/Controllable.java @@ -50,7 +50,7 @@ public class Controllable extends Trait implements Toggleable { @Override public void load(DataKey key) throws NPCLoadException { - enabled = key.getBoolean(""); + enabled = key.getBoolean("enabled"); } public boolean mount(Player toMount) {