3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 06:50:08 +01:00

Use scheduleSend for enabled features packet

Dieser Commit ist enthalten in:
Myles 2022-12-07 22:16:50 +00:00
Ursprung 09222f1024
Commit 57a8744a53

Datei anzeigen

@ -67,7 +67,7 @@ public final class EntityPackets extends EntityRewriter<Protocol1_19_3To1_19_1>
final PacketWrapper enableFeaturesPacket = wrapper.create(ClientboundPackets1_19_3.UPDATE_ENABLED_FEATURES);
enableFeaturesPacket.write(Type.VAR_INT, 1);
enableFeaturesPacket.write(Type.STRING, "minecraft:vanilla");
enableFeaturesPacket.send(Protocol1_19_3To1_19_1.class);
enableFeaturesPacket.scheduleSend(Protocol1_19_3To1_19_1.class);
});
}
});