Skip to content

Commit

Permalink
ah frick i forgor about event.gui as GuiChest
Browse files Browse the repository at this point in the history
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <[email protected]>
  • Loading branch information
RayDeeUx committed Jan 17, 2024
1 parent ab90a3c commit 05f596a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object TestCopyChestData {
if (!LorenzUtils.inSkyBlock) return
if (!config.copyPlayerInventory.isKeyHeld() && !config.copyEntireChest.isKeyHeld() && !config.copyChestName.isKeyHeld()) return
if (event.gui !is GuiContainer) return
if (config.copyEntireChest.isKeyHeld()) {
if (config.copyEntireChest.isKeyHeld() && event.gui is GuiChest) {
copySlotsData(chest = (event.gui as GuiChest).inventorySlots.inventorySlots)
return
} else if (config.copyPlayerInventory.isKeyHeld()) {
Expand Down

0 comments on commit 05f596a

Please sign in to comment.