aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch')
-rw-r--r--patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch b/patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch
index 782935a98b..9d035ae577 100644
--- a/patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch
+++ b/patches/server/0375-Ensure-Entity-position-and-AABB-are-never-invalid.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Ensure Entity position and AABB are never invalid
Co-authored-by: Spottedleaf <[email protected]>
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
-index b1d870b9a3b414ed49b4674afc2c6088d457ebc1..f2855de7320dc9532d0b568b84b0b7e5a2064045 100644
+index 2c21ef3f9096d1282091a7ec34e57fd74d815353..be990f12c61a6079fafbfd3d05ae1ae352d6229d 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -670,8 +670,8 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
@@ -20,7 +20,7 @@ index b1d870b9a3b414ed49b4674afc2c6088d457ebc1..f2855de7320dc9532d0b568b84b0b7e5
}
protected AABB makeBoundingBox() {
-@@ -4225,7 +4225,29 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
+@@ -4224,7 +4224,29 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
return this.getZ((2.0D * this.random.nextDouble() - 1.0D) * widthScale);
}
@@ -50,7 +50,7 @@ index b1d870b9a3b414ed49b4674afc2c6088d457ebc1..f2855de7320dc9532d0b568b84b0b7e5
if (this.position.x != x || this.position.y != y || this.position.z != z) {
this.position = new Vec3(x, y, z);
int i = Mth.floor(x);
-@@ -4243,6 +4265,12 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
+@@ -4242,6 +4264,12 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
this.levelCallback.onMove();
}