diff options
Diffstat (limited to 'nms-patches/Chunk.patch')
-rw-r--r-- | nms-patches/Chunk.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/Chunk.patch b/nms-patches/Chunk.patch index 5a5ad49b..7d8f1da3 100644 --- a/nms-patches/Chunk.patch +++ b/nms-patches/Chunk.patch @@ -11,7 +11,7 @@ private static final Logger e = LogManager.getLogger(); @@ -42,6 +45,35 @@ - private ConcurrentLinkedQueue<BlockPosition> y; + private final ConcurrentLinkedQueue<BlockPosition> y; public boolean d; + // CraftBukkit start - Neighbor loaded cache for chunk lighting and entity ticking @@ -91,7 +91,7 @@ if (chunk_enumtileentitystate == Chunk.EnumTileEntityState.IMMEDIATE) { @@ -639,6 +687,13 @@ - tileentity.z(); + tileentity.A(); this.tileEntities.put(blockposition, tileentity); + // CraftBukkit start + } else { @@ -131,9 +131,9 @@ while (iterator.hasNext()) { Entity entity = (Entity) iterator.next(); -- if (entity.getBoundingBox().b(axisalignedbb) && (predicate == null || predicate.apply(entity))) { +- if (entity.getBoundingBox().c(axisalignedbb) && (predicate == null || predicate.apply(entity))) { - list.add(entity); -+ if (entity.getBoundingBox().b(axisalignedbb) && (predicate == null || predicate.apply((T) entity))) { // CraftBukkit - fix decompile error ++ if (entity.getBoundingBox().c(axisalignedbb) && (predicate == null || predicate.apply((T) entity))) { // CraftBukkit - fix decompile error + list.add((T) entity); // Fix decompile error } } |