aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch')
-rw-r--r--Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch b/Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch
index 480c131fb1..6c28d1920b 100644
--- a/Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch
+++ b/Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch
@@ -176,7 +176,7 @@ index 175f242a8..c21f9c65d 100644
- });
+ List<VoxelShape> shapes = new ArrayList<>();
+ for (Entity e : this.getEntities(entity, axisalignedbb.g(0.25D))) {
-+ if (!set.contains(e) && (entity == null || !entity.x(e))) continue;
++ if (!(!set.contains(e) && (entity == null || !entity.x(e)))) continue;
+
+ List<AxisAlignedBB> alignedBBs = Arrays.asList(e.al(), entity == null ? null : entity.j(e));
+ for (AxisAlignedBB axisAlignedBB : alignedBBs) {