mirror of
https://github.com/PaperMC/Paper.git
synced 2024-10-24 01:46:42 +02:00
Fix shulker bullets exploding immediatly (#2536)
This commit is contained in:
parent
e0532a7aa7
commit
26ec2f97e9
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue