Skip to content

Commit

Permalink
Fix incorrect packet contents
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Nov 5, 2024
1 parent 4cc522e commit edd990c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ public void onPosition(ClientboundPlayerPositionPacket packet) {
connection.sendPacket(new ServerboundMovePlayerPosRotPacket(
false,
false,
packet.getPosition().getX(),
packet.getPosition().getY(),
packet.getPosition().getZ(),
packet.getYRot(),
packet.getXRot()
newMovement.pos().getX(),
newMovement.pos().getY(),
newMovement.pos().getZ(),
newMovement.yRot(),
newMovement.xRot()
));
connection.sendPacket(new ServerboundAcceptTeleportationPacket(packet.getId()));
}
Expand Down

0 comments on commit edd990c

Please sign in to comment.