mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update Protocol and RakNet
This commit is contained in:
parent
446d3c22e2
commit
1b0d03824a
4 changed files with 7 additions and 7 deletions
|
@ -179,7 +179,7 @@ public class JavaCommandsTranslator extends PacketTranslator<ClientboundCommands
|
|||
CommandEnumData aliases = new CommandEnumData(commandName + "Aliases", values, false);
|
||||
|
||||
// Build the completed command and add it to the final list
|
||||
CommandData data = new CommandData(commandName, entry.getKey().description(), flags, (byte) 0, aliases, entry.getKey().paramData());
|
||||
CommandData data = new CommandData(commandName, entry.getKey().description(), flags, CommandPermission.ANY, aliases, entry.getKey().paramData());
|
||||
commandData.add(data);
|
||||
}
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ public class JavaSetPassengersTranslator extends PacketTranslator<ClientboundSet
|
|||
|
||||
switch (entity.getDefinition().entityType()) {
|
||||
case HORSE, SKELETON_HORSE, DONKEY, MULE, RAVAGER -> {
|
||||
entity.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET, 181.0f);
|
||||
entity.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET_DEGREES, 181.0f);
|
||||
entity.updateBedrockMetadata();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -230,12 +230,12 @@ public final class EntityUtils {
|
|||
// Head rotation is locked while riding in a boat
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_LOCK_RIDER_ROTATION, true);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_LOCK_RIDER_ROTATION_DEGREES, 90f);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET, 1f);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_HAS_ROTATION, true);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET_DEGREES, -90f);
|
||||
} else {
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_LOCK_RIDER_ROTATION, false);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_LOCK_RIDER_ROTATION_DEGREES, 0f);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET, 0f);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_HAS_ROTATION, false);
|
||||
passenger.getDirtyMetadata().put(EntityDataTypes.SEAT_ROTATION_OFFSET_DEGREES, 0f);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@ netty = "4.1.80.Final"
|
|||
guava = "29.0-jre"
|
||||
gson = "2.3.1" # Provided by Spigot 1.8.8
|
||||
websocket = "1.5.1"
|
||||
protocol = "3.0.0.Beta1-20230604.143616-86"
|
||||
protocol-connection = "3.0.0.Beta1-20230604.143616-85"
|
||||
raknet = "1.0.0.CR1-20230430.211932-7"
|
||||
protocol = "3.0.0.Beta1-20230613.104224-93"
|
||||
protocol-connection = "3.0.0.Beta1-20230613.104224-92"
|
||||
raknet = "1.0.0.CR1-20230609.174844-8"
|
||||
mcauthlib = "d9d773e"
|
||||
mcprotocollib = "1.20-1-20230607.135651-6" # Temporary hack - needs to be updated to release once publishing is fixed
|
||||
adventure = "4.14.0-20230424.215040-7"
|
||||
|
|
Loading…
Reference in a new issue