Possible fix for CITIZENS-443
This commit is contained in:
parent
1668230568
commit
22f54da17a
|
@ -78,7 +78,8 @@ public class Controllable extends Trait implements Toggleable, CommandConfigurab
|
|||
|
||||
@Override
|
||||
public void load(DataKey key) throws NPCLoadException {
|
||||
explicitType = Util.matchEntityType(key.getString("explicittype"));
|
||||
if (key.keyExists("explicittype"))
|
||||
explicitType = Util.matchEntityType(key.getString("explicittype"));
|
||||
}
|
||||
|
||||
private void loadController() {
|
||||
|
|
Loading…
Reference in New Issue