mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-22 20:48:25 +01:00
Restore a condition I accidently removed in last build
This commit is contained in:
parent
6480eba1cc
commit
cb1f733303
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue