Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
F
Dieser Commit ist enthalten in:
Ursprung
fec777b349
Commit
b2855c2cd4
@ -97,7 +97,7 @@ public class InventoryPackets {
|
|||||||
boolean accepted = wrapper.read(Type.BOOLEAN);
|
boolean accepted = wrapper.read(Type.BOOLEAN);
|
||||||
if (!accepted) {
|
if (!accepted) {
|
||||||
// Use the new ping packet to replace the removed acknowledgement, extra bit for fast dismissal
|
// Use the new ping packet to replace the removed acknowledgement, extra bit for fast dismissal
|
||||||
int id = (1 << 30) | (inventoryId << 16) | (confirmationId & 0xFFF);
|
int id = (1 << 30) | (inventoryId << 16) | (confirmationId & 0xFFFF);
|
||||||
wrapper.user().get(InventoryAcknowledgements.class).addId(id);
|
wrapper.user().get(InventoryAcknowledgements.class).addId(id);
|
||||||
|
|
||||||
PacketWrapper pingPacket = wrapper.create(ClientboundPackets1_17.PING);
|
PacketWrapper pingPacket = wrapper.create(ClientboundPackets1_17.PING);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren