Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Workaround villager packet causing issues
Dieser Commit ist enthalten in:
Ursprung
dad71f1179
Commit
c3e406e95b
@ -300,7 +300,7 @@ public class InventoryPackets {
|
|||||||
CompoundTag tag = new CompoundTag("");
|
CompoundTag tag = new CompoundTag("");
|
||||||
tag.put(new DoubleTag("force_resync", Double.NaN)); // Tags with NaN are not equal
|
tag.put(new DoubleTag("force_resync", Double.NaN)); // Tags with NaN are not equal
|
||||||
resyncPacket.write(Type.FLAT_VAR_INT_ITEM, new Item(1, (byte) 1, (short) 0, tag)); // 5 - Clicked Item
|
resyncPacket.write(Type.FLAT_VAR_INT_ITEM, new Item(1, (byte) 1, (short) 0, tag)); // 5 - Clicked Item
|
||||||
resyncPacket.sendToServer(Protocol1_14To1_13_2.class, true, true);
|
resyncPacket.sendToServer(Protocol1_14To1_13_2.class, true, false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren