Fix a load of issues, add luacheck and travis
This commit is contained in:
parent
c21b192f82
commit
7bd82dca86
28 changed files with 144 additions and 107 deletions
|
@ -15,7 +15,7 @@ local function drop(pos, itemstack)
|
|||
end
|
||||
end
|
||||
|
||||
local obj = core.add_item(pos, it)
|
||||
local obj = minetest.add_item(pos, it)
|
||||
|
||||
if obj then
|
||||
obj:setvelocity({x=math.random(-1,1), y=5, z=math.random(-1,1)})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue