@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user