mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user