Fix item particle

This commit is contained in:
creeper123123321 2018-09-02 15:13:09 -03:00
parent 527b5e6f99
commit 5024375466
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -175,6 +175,8 @@ public class WorldPackets {
if (id == 3 || id == 20) { if (id == 3 || id == 20) {
int data = wrapper.passthrough(Type.VAR_INT); int data = wrapper.passthrough(Type.VAR_INT);
wrapper.set(Type.VAR_INT, 0, Protocol1_13_1To1_13.getNewBlockStateId(data)); wrapper.set(Type.VAR_INT, 0, Protocol1_13_1To1_13.getNewBlockStateId(data));
} else if (id == 27) {
InventoryPackets.toClient(wrapper.passthrough(Type.FLAT_ITEM));
} }
} }
}); });