geforkt von Mirrors/Paper
[ci skip] Fix param mismatch from last commit
Dieser Commit ist enthalten in:
Ursprung
f7dbd062e7
Commit
ca523abbdd
@ -1194,7 +1194,7 @@ index 56d94c94fb0d4dc468bb5d69be655ddd5c6b5360..d7d396ad73866a97cd9f63b34ad8c587
|
||||
|
||||
List<VoxelShape> getEntityCollisions(@Nullable Entity entity, AABB box);
|
||||
diff --git a/src/main/java/net/minecraft/world/level/EntityGetter.java b/src/main/java/net/minecraft/world/level/EntityGetter.java
|
||||
index f9527d1d867f93b4e0e2758485cfa1f6efa0bf8b..566c1262fdf074b9ad6024a61eef973bba1d88fa 100644
|
||||
index f9527d1d867f93b4e0e2758485cfa1f6efa0bf8b..1f4b72a0aca200b2e0860449c718e6e607d2fc47 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/EntityGetter.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/EntityGetter.java
|
||||
@@ -50,7 +50,7 @@ public interface EntityGetter {
|
||||
@ -1202,7 +1202,7 @@ index f9527d1d867f93b4e0e2758485cfa1f6efa0bf8b..566c1262fdf074b9ad6024a61eef973b
|
||||
} else {
|
||||
for(Entity entity : this.getEntities(except, shape.bounds())) {
|
||||
- if (!entity.isRemoved() && entity.blocksBuilding && (except == null || !entity.isPassengerOfSameVehicle(except)) && Shapes.joinIsNotEmpty(shape, Shapes.create(entity.getBoundingBox()), BooleanOp.AND)) {
|
||||
+ if (!entity.isRemoved() && entity.blocksBuilding && (entity == null || !entity.isPassengerOfSameVehicle(entity)) && shape.intersects(entity.getBoundingBox())) { // Paper
|
||||
+ if (!entity.isRemoved() && entity.blocksBuilding && (except == null || !entity.isPassengerOfSameVehicle(except)) && shape.intersects(entity.getBoundingBox())) { // Paper
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren