diff options
author | Andrew Mollenkamp <[email protected]> | 2019-09-21 22:48:50 -0500 |
---|---|---|
committer | Zach <[email protected]> | 2019-09-21 22:48:50 -0500 |
commit | 26ec2f97e953dc07a80fcff3e4267bf64ef33f3c (patch) | |
tree | 3682f0e3ef3d60f8a2d116676cf167a24f9ca217 /Spigot-Server-Patches/0444-Don-t-use-streams-for-VoxelShape-calls.patch | |
parent | e0532a7aa760cd2717f82f7e40e132f9263b3f64 (diff) | |
download | Paper-26ec2f97e953dc07a80fcff3e4267bf64ef33f3c.tar.gz Paper-26ec2f97e953dc07a80fcff3e4267bf64ef33f3c.zip |
Fix shulker bullets exploding immediatly (#2536)
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.patch | 2 |
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) { |