inside the onplayermineditem
Code: Select all
if sds.mineitems[event.itemstack.name] then
i but keeps calling it as a boolean. why did it work in 0.8.x but not in 0.9.x?
i cant seem to fix it, and considering this is a large part of my mod, i hate to disable it


edit: pls dont tell me that this caused it:
1: its not outside modStricter rules for lua scripts (no require outside mod path, no dofile function)
2: i guess it has something to do with dofile, any work around? (i would like all my functions in another file as i want to make it clean (eg. not everything inside control.lua)