1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-18 11:22:15 +01:00

Revert "Fix PaperTickList" ()

This commit reverts b166af8801
This commit is contained in:
Nassim Jahnke 2021-07-17 21:57:00 +02:00
parent 95ff18dca7
commit 039952aa5e

View file

@ -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