mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-10-04 02:17:26 +02:00
Possible fix for CITIZENS-443
This commit is contained in:
parent
a86968bcd9
commit
5fa8d94de9
@ -78,7 +78,8 @@ public class Controllable extends Trait implements Toggleable, CommandConfigurab
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(DataKey key) throws NPCLoadException {
|
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() {
|
private void loadController() {
|
||||||
|
Loading…
Reference in New Issue
Block a user