Restore a condition I accidently removed in last build

This commit is contained in:
Aikar 2020-05-25 12:53:40 -04:00
parent 6480eba1cc
commit cb1f733303

View File

@ -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()) {