Fixed issues with JavaDowngrader

This commit is contained in:
RaphiMC 2024-05-25 18:14:13 +02:00
parent 350230dd4f
commit 55acce8170
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94

View file

@ -59,7 +59,7 @@ public abstract class MixinEntityPacketRewriter1_20_5 extends EntityRewriter<Cli
* @reason Fix interaction range and step height differences
*/
@Overwrite
private void sendRangeAttributes(final UserConnection connection, final boolean creativeMode) {
public void sendRangeAttributes(final UserConnection connection, final boolean creativeMode) {
final PacketWrapper updateAttributes = PacketWrapper.create(ClientboundPackets1_20_5.UPDATE_ATTRIBUTES, connection);
updateAttributes.write(Types.VAR_INT, this.tracker(connection).clientEntityId());
if (connection.getProtocolInfo().serverProtocolVersion().olderThanOrEqualTo(ProtocolVersion.v1_7_6)) {