Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
*facepalm*
Dieser Commit ist enthalten in:
Ursprung
de2abdcab0
Commit
a403c7424c
@ -226,7 +226,7 @@ public class Protocol1_13To1_12_2 extends Protocol {
|
|||||||
if (id == 1010) { // Play record
|
if (id == 1010) { // Play record
|
||||||
wrapper.set(Type.INT, 1, data = MappingData.oldToNewItems.get(data << 4));
|
wrapper.set(Type.INT, 1, data = MappingData.oldToNewItems.get(data << 4));
|
||||||
} else if (id == 2001) { // Block break + block break sound
|
} else if (id == 2001) { // Block break + block break sound
|
||||||
int blockId = 12 & 0xFFF;
|
int blockId = data & 0xFFF;
|
||||||
int blockData = data >> 12;
|
int blockData = data >> 12;
|
||||||
wrapper.set(Type.INT, 1, data = WorldPackets.toNewId(blockId << 4 | blockData));
|
wrapper.set(Type.INT, 1, data = WorldPackets.toNewId(blockId << 4 | blockData));
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren