mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Restore a condition I accidently removed in last build
This commit is contained in:
parent
6480eba1cc
commit
cb1f733303
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user