fixed fix for null properties, lol
This commit is contained in:
parent
0596f59304
commit
2ff5322093
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class NpcTypeImpl implements NpcType {
|
|||
|
||||
public Builder addProperties(String... names) {
|
||||
for (String name : names) {
|
||||
if (propertyRegistry.getByName(name) != null) continue;
|
||||
if (propertyRegistry.getByName(name) == null) continue;
|
||||
allowedProperties.add(propertyRegistry.getByName(name));
|
||||
}
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue