mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
No need for an extra key
This commit is contained in:
parent
6ee305d192
commit
4b7e6dd189
@ -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