mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 06:49:28 +00:00
Fix boat steering direction for d-pad input. (#6061)
This commit is contained in:
@@ -254,7 +254,7 @@ public final class BedrockPlayerAuthInputTranslator extends PacketTranslator<Pla
|
||||
if (left && right) {
|
||||
session.getPlayerEntity().setVehicleInput(Vector2f.UNIT_Y);
|
||||
} else {
|
||||
session.getPlayerEntity().setVehicleInput(Vector2f.UNIT_X.mul(left ? 1 : right ? -1 : 0));
|
||||
session.getPlayerEntity().setVehicleInput(Vector2f.UNIT_X.mul(left ? -1 : right ? 1 : 0));
|
||||
}
|
||||
} else {
|
||||
session.getPlayerEntity().setVehicleInput(packet.getMotion());
|
||||
|
||||
Reference in New Issue
Block a user