01-05-2015, 05:29 AM
(01-04-2015, 08:20 PM)xoft Wrote: That's not a bug in cLuaWindow. If you look at the stacktrace that is presented right after the error message, you'll see that the actual error comes from the cItem constructor. And that would be because there's no such thing as E_ITEM_DIRT. Use E_BLOCK_DIRT instead.
By the way, there is an example for using the cLuaWindow class in the Debuggers plugin, I've just tested it and it still works
Ah, derp. Thought the error was in Wnd:SetSlot the whole time... Good job me. Thanks