Revert "Fix PaperTickList" (#6216)

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) { + public final boolean isPositionTickingWithEntitiesLoaded(BlockPos pos) {
+ long position = net.minecraft.server.MCUtil.getCoordinateKey(pos); + long position = net.minecraft.server.MCUtil.getCoordinateKey(pos);
+ ChunkHolder chunkHolder = this.chunkMap.getUpdatingChunkIfPresent(position); + 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 + // Paper end - rewrite ticklistserver