mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Scripting WIP
This commit is contained in:
parent
23adfff4fe
commit
38944467d3
9 changed files with 59 additions and 29 deletions
|
@ -166,7 +166,7 @@ end
|
|||
function TNT:on_rightclick(clicker)
|
||||
pos = self.object:getpos()
|
||||
pos = {x=pos.x, y=pos.y+0.1, z=pos.z}
|
||||
self.object:moveto(pos)
|
||||
self.object:moveto(pos, false)
|
||||
end
|
||||
--[[
|
||||
function TNT:on_rightclick(clicker)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue