From c25ddf063a808e3adb749e22017661f403c5fb7e Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 17 Nov 2016 12:41:03 +1100 Subject: Update to Minecraft 1.11 --- nms-patches/Chunk.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nms-patches/Chunk.patch') 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 y; + private final ConcurrentLinkedQueue 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 } } -- cgit v1.2.3