Inventory Trash Slot


A trash slot for easy deletion of unwanted items.

Utilities
14 days ago
2.0
2.47K
Character Storage Cheats

b Crash when Shift-clicking empty slot with item in cursor [Fixed]

a month ago
(updated a month ago)
Error while running event inventory-trash-slot::on_gui_click (ID 1)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
    [C]: in function '__index'
    __inventory-trash-slot__/control.lua:165: in function <__inventory-trash-slot__/control.lua:152>

It looks like you haven't checked if storage_stack is occupied when handling Shift-click.

a month ago

Yeah that was a bit of an oversight, fixed in 0.3.5.

New response