From 8c0ebdc65d2f8102991fc60619894e697768681f Mon Sep 17 00:00:00 2001 From: aPunch Date: Thu, 26 Apr 2012 04:01:12 -0500 Subject: [PATCH] No need for an extra key --- src/main/java/net/citizensnpcs/trait/Controllable.java | 2 +- src/main/java/net/citizensnpcs/trait/LookClose.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/citizensnpcs/trait/Controllable.java b/src/main/java/net/citizensnpcs/trait/Controllable.java index 3d958a92d..c16b8d7cd 100644 --- a/src/main/java/net/citizensnpcs/trait/Controllable.java +++ b/src/main/java/net/citizensnpcs/trait/Controllable.java @@ -31,7 +31,7 @@ public class Controllable extends Trait implements Runnable, Listener, Toggleabl @Override public void load(DataKey key) throws NPCLoadException { - enabled = key.getBoolean("enabled"); + enabled = key.getBoolean(""); } @EventHandler diff --git a/src/main/java/net/citizensnpcs/trait/LookClose.java b/src/main/java/net/citizensnpcs/trait/LookClose.java index d3d2dfccf..e6edddfe1 100644 --- a/src/main/java/net/citizensnpcs/trait/LookClose.java +++ b/src/main/java/net/citizensnpcs/trait/LookClose.java @@ -51,7 +51,7 @@ public class LookClose extends Trait implements Runnable, Toggleable { @Override public void load(DataKey key) throws NPCLoadException { - enabled = key.getBoolean("enabled"); + enabled = key.getBoolean(""); } @Override