Skip to content

Commit

Permalink
Skip loading speech trait (removed)
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Apr 22, 2023
1 parent dd863cc commit 54eeedf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/citizensnpcs/api/npc/AbstractNPC.java
Expand Up @@ -353,6 +353,8 @@ public void load(final DataKey root) {
keys.remove(locationKey);
}
for (DataKey key : keys) {
if (key.name().equals("speech"))
continue;
loadTraitFromKey(key);
}
}
Expand Down

0 comments on commit 54eeedf

Please sign in to comment.