Skip to content

Commit

Permalink
patch previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 30, 2021
1 parent 3b3ad25 commit 7b7db19
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -901,6 +901,12 @@ public boolean isSpawnedOrValidForTag() {
if (isFake) {
return true;
}
if (entity == null) { // Note: this breaks thread-patch for entities that need revalidating
if (uuid == null) {
return false;
}
return isValid() || rememberedEntities.containsKey(uuid);
}
NMSHandler.getChunkHelper().changeChunkServerThread(entity.getWorld());
try {
return isValid() || rememberedEntities.containsKey(entity.getUniqueId());
Expand Down

0 comments on commit 7b7db19

Please sign in to comment.