Skip to content

Commit

Permalink
NPCTag.getWorld() shouldn't be null just from an unspawned NPC
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 20, 2023
1 parent 0b8b6d9 commit 99949ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -288,7 +288,7 @@ public World getWorld() {
return getEntity().getWorld();
}
else {
return null;
return getCitizen().getStoredLocation().getWorld();
}
}

Expand Down

0 comments on commit 99949ce

Please sign in to comment.