why Booleans?
Posted: Mon Feb 24, 2014 8:25 pm
since the 0.9 update i cant get this to work:
inside the onplayermineditem
sds points to scripts/dynamic-system inside my own mod.
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
(so my release depends on this
)
edit: pls dont tell me that this caused it:
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)
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)