Skip to content

Commit

Permalink
Thanks Intellij for randomly breaking my file system
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Oct 19, 2023
1 parent ee36df1 commit 663172d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public void handleWindowClick(final byte windowId, final int revision, final sho
public void writeWindowItems(final PacketWrapper wrapper, final Container container) {
wrapper.write(Type.UNSIGNED_BYTE, (short) container.windowId()); // window id
wrapper.write(Type.VAR_INT, 0); // revision
wrapper.write(Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT, container.getJavaItems(this.getUser())); // items
wrapper.write(Type.FLAT_VAR_INT_ITEM, this.getUser().get(ItemRewriter.class).javaItem(this.currentCursorItem)); // cursor item
wrapper.write(Type.ITEM1_13_2_ARRAY, container.getJavaItems(this.getUser())); // items
wrapper.write(Type.ITEM1_13_2, this.getUser().get(ItemRewriter.class).javaItem(this.currentCursorItem)); // cursor item
}

public void tick() throws Exception {
Expand Down

0 comments on commit 663172d

Please sign in to comment.