Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local arg1, arg2, arg3 = ...
- local miningDimensions = {arg1, arg2, arg3}
- for i,v in pairs(miningDimensions) do
- print(i..":"..v)
- end
- function checkDimensionsNil()
- print("1")
- if v == nil then
- print("Failed to enter mining positions.")
- error()
- else
- print(v)
- end
- end
- table.foreach(miningDimensions, checkDimensionsNil())
Add Comment
Please, Sign In to add comment