Skip to content

Commit

Permalink
Fix: Accidentally flipped yaw/pitch in the CameraPresetsPacket (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris committed Dec 29, 2023
1 parent bda5aa0 commit 50ddafa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ public CameraPreset readPreset(ByteBuf buffer, BedrockCodecHelper helper) {

CameraAudioListener listener = helper.readOptional(buffer, null, buf -> CameraAudioListener.values()[buf.readUnsignedByte()]);
OptionalBoolean effects = helper.readOptional(buffer, OptionalBoolean.empty(), buf -> OptionalBoolean.of(buf.readBoolean()));
return new CameraPreset(identifier, parentPreset, pos, pitch, yaw, listener, effects);
return new CameraPreset(identifier, parentPreset, pos, yaw, pitch, listener, effects);
}
}

0 comments on commit 50ddafa

Please sign in to comment.