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