Skip to content

Commit

Permalink
Update patches
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 18, 2024
1 parent 2674cca commit 39e1c7f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--- a/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -427,6 +427,7 @@
@@ -422,6 +422,7 @@
}

entity.move(MoverType.PLAYER, new Vec3(d6, d7, d8));
+ double d11 = d7;
d6 = d3 - entity.getX();
d7 = d4 - entity.getY();
if (d7 > -0.5 || d7 < 0.5) {
@@ -453,7 +454,7 @@
@@ -448,7 +449,7 @@
Vec3 vec3 = new Vec3(entity.getX() - d0, entity.getY() - d1, entity.getZ() - d2);
this.handlePlayerKnownMovement(vec3);
this.player.checkMovementStatistics(vec3.x, vec3.y, vec3.z);
Expand All @@ -17,7 +17,7 @@
&& !flag1
&& !this.server.isFlightAllowed()
&& !entity.isNoGravity()
@@ -791,7 +792,7 @@
@@ -786,7 +787,7 @@
if (itemstack.has(DataComponents.WRITABLE_BOOK_CONTENT)) {
ItemStack itemstack1 = itemstack.transmuteCopy(Items.WRITTEN_BOOK);
itemstack1.remove(DataComponents.WRITABLE_BOOK_CONTENT);
Expand Down

0 comments on commit 39e1c7f

Please sign in to comment.