mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-28 05:35:45 +01:00
No need for an extra key
This commit is contained in:
parent
05bd12ba05
commit
8c0ebdc65d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user