mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 10:35:12 +01:00
Add missing .toClient
This commit is contained in:
parent
d4144264d5
commit
b5a7c92c8d
@ -473,7 +473,9 @@ public class Protocol1_13To1_12_2 extends Protocol {
|
|||||||
if (wrapper.passthrough(Type.BOOLEAN)) {
|
if (wrapper.passthrough(Type.BOOLEAN)) {
|
||||||
wrapper.passthrough(Type.STRING); // Title
|
wrapper.passthrough(Type.STRING); // Title
|
||||||
wrapper.passthrough(Type.STRING); // Description
|
wrapper.passthrough(Type.STRING); // Description
|
||||||
wrapper.write(Type.FLAT_ITEM, wrapper.read(Type.ITEM)); // Translate item to flat item
|
Item icon = wrapper.read(Type.ITEM);
|
||||||
|
InventoryPackets.toClient(icon);
|
||||||
|
wrapper.write(Type.FLAT_ITEM, icon); // Translate item to flat item
|
||||||
wrapper.passthrough(Type.VAR_INT); // Frame type
|
wrapper.passthrough(Type.VAR_INT); // Frame type
|
||||||
int flags = wrapper.passthrough(Type.INT); // Flags
|
int flags = wrapper.passthrough(Type.INT); // Flags
|
||||||
if ((flags & 1) != 0)
|
if ((flags & 1) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user