*facepalm*

This commit is contained in:
creeper123123321 2018-07-24 10:55:08 -03:00
parent de2abdcab0
commit a403c7424c
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -226,7 +226,7 @@ public class Protocol1_13To1_12_2 extends Protocol {
if (id == 1010) { // Play record
wrapper.set(Type.INT, 1, data = MappingData.oldToNewItems.get(data << 4));
} else if (id == 2001) { // Block break + block break sound
int blockId = 12 & 0xFFF;
int blockId = data & 0xFFF;
int blockData = data >> 12;
wrapper.set(Type.INT, 1, data = WorldPackets.toNewId(blockId << 4 | blockData));
}