diff --git a/Spigot-Server-Patches/Unload-leaked-Cached-Chunks.patch b/Spigot-Server-Patches/Unload-leaked-Cached-Chunks.patch index 09f26878f..4eed41cb0 100644 --- a/Spigot-Server-Patches/Unload-leaked-Cached-Chunks.patch +++ b/Spigot-Server-Patches/Unload-leaked-Cached-Chunks.patch @@ -36,6 +36,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + if (chunkHolderStatus != null && !chunkHolderStatus.isAtLeastStatus(desiredStatus)) { + return; + } ++ if (playerchunk.lastActivity == 0) { ++ playerchunk.lastActivity = world.getTime(); ++ return; ++ } + playerchunk.lastActivity = world.getTime(); + Chunk chunk = playerchunk.getChunk(); + if ((chunk != null && chunk.isAnyNeighborsLoaded()) || !playerchunk.neighborPriorities.isEmpty()) {