diff options
Diffstat (limited to 'patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch')
-rw-r--r-- | patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch b/patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch index 7ed6158b59..98ca03dc3f 100644 --- a/patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch +++ b/patches/server/0345-Don-t-run-entity-collision-code-if-not-needed.patch @@ -12,10 +12,10 @@ The entity's current team collision rule causes them to NEVER collide. Co-authored-by: Owen1212055 <[email protected]> diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java -index fa9da0e3b9fc579f16c3b05c8c45310940e68d62..b8ea7830f9dc1b4ee0052bf3b83127c415cc8085 100644 +index 575f6b542a7c5c9a3f96a0e4e78f75f7dc060cd7..8c95f08302439c7bd36ae9834ea991b29c435cfa 100644 --- a/src/main/java/net/minecraft/world/entity/LivingEntity.java +++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java -@@ -3512,10 +3512,24 @@ public abstract class LivingEntity extends Entity implements Attackable { +@@ -3502,10 +3502,24 @@ public abstract class LivingEntity extends Entity implements Attackable { if (this.level().isClientSide()) { this.level().getEntities(EntityTypeTest.forClass(net.minecraft.world.entity.player.Player.class), this.getBoundingBox(), EntitySelector.pushableBy(this)).forEach(this::doPush); } else { |