fixed fix for null properties, lol

This commit is contained in:
D3v1s0m 2023-07-10 19:15:52 +05:30
parent 0596f59304
commit 2ff5322093
No known key found for this signature in database
GPG Key ID: 3B6EC35367B8D82E

@ -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;