mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
parent
95ff18dca7
commit
039952aa5e
1 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ public final boolean isPositionTickingWithEntitiesLoaded(BlockPos pos) {
|
||||
+ long position = net.minecraft.server.MCUtil.getCoordinateKey(pos);
|
||||
+ ChunkHolder chunkHolder = this.chunkMap.getUpdatingChunkIfPresent(position);
|
||||
+ return chunkHolder != null && chunkHolder.isTickingReady() && this.level.entityManager.areEntitiesLoaded(position);
|
||||
+ return chunkHolder != null && chunkHolder.isTickingReady() /* && this.level.entityManager.areEntitiesLoaded(position) */; // TODO Needs to wait for entities, but has to be manually marked as ready
|
||||
+ }
|
||||
+ // Paper end - rewrite ticklistserver
|
||||
|
||||
|
|
Loading…
Reference in a new issue