Inventory Trash Slot


A trash slot for easy deletion of unwanted items.

Utilities
5 days ago
2.0
1.92K
Character Storage Cheats

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

11 days ago
(updated 11 days 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.

11 days ago

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

New response