Skip to content

Commit

Permalink
Fix some old nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 1, 2016
1 parent 6259246 commit affaaf2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ public static Set<dNPC> getSpawnedNPCs() {
while (it.hasNext()) {
Map.Entry<Integer, dNPC> npc = it.next();
if (npc.getValue().getCitizen() == null) {
dB.log(ChatColor.RED + "Removed NPC from dRegistry.");
try {
denizenNPCs.remove(npc.getKey());
}
catch (Exception e) {
dB.echoError("Report this error to aufdemrand! Err: posconcurrency1");
dB.echoError("Report this error to the Denizen team! Err: posconcurrency1");
}
}
else if (npc.getValue().isSpawned()) {
Expand Down

0 comments on commit affaaf2

Please sign in to comment.