diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-12-22 18:25:19 +0200 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2021-12-22 18:25:19 +0200 |
commit | 5d9dddbf5f9784f7aba495bfadf103dfc413a443 (patch) | |
tree | 73d3efd680ca842b9c677f490cb907b70264f0d4 | |
parent | bbbd874a67489488f5e969633b2ca01881f4164b (diff) | |
download | LibGui-5d9dddbf5f9784f7aba495bfadf103dfc413a443.tar.gz LibGui-5d9dddbf5f9784f7aba495bfadf103dfc413a443.tar.bz2 LibGui-5d9dddbf5f9784f7aba495bfadf103dfc413a443.zip |
Keep bin compat in SyncedGuiDescription
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java index f97842d..b56c9f8 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java @@ -167,7 +167,13 @@ public class SyncedGuiDescription extends ScreenHandler implements GuiDescriptio return result; } - + + // This is only kept for backwards binary compat, TODO: Remove in 1.19 + @Override + public void onSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player) { + super.onSlotClick(slotIndex, button, actionType, player); + } + /** WILL MODIFY toInsert! Returns true if anything was inserted. */ private boolean insertIntoExisting(ItemStack toInsert, Slot slot, PlayerEntity player) { ItemStack curSlotStack = slot.getStack(); |