No need for an extra key

This commit is contained in:
aPunch 2012-04-26 04:01:12 -05:00
parent 05bd12ba05
commit 8c0ebdc65d
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public class Controllable extends Trait implements Runnable, Listener, Toggleabl
@Override @Override
public void load(DataKey key) throws NPCLoadException { public void load(DataKey key) throws NPCLoadException {
enabled = key.getBoolean("enabled"); enabled = key.getBoolean("");
} }
@EventHandler @EventHandler

View File

@ -51,7 +51,7 @@ public class LookClose extends Trait implements Runnable, Toggleable {
@Override @Override
public void load(DataKey key) throws NPCLoadException { public void load(DataKey key) throws NPCLoadException {
enabled = key.getBoolean("enabled"); enabled = key.getBoolean("");
} }
@Override @Override