mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-28 13:45:18 +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
|
@Override
|
||||||
public void load(DataKey key) throws NPCLoadException {
|
public void load(DataKey key) throws NPCLoadException {
|
||||||
enabled = key.getBoolean("enabled");
|
enabled = key.getBoolean("");
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user