homedecor_modpack/homedecor_common/sit.lua

16 lines
365 B
Lua
Executable File

function homedecor.sit(pos, node, clicker)
return -- delete it when the engine is stabler for the player's physics
--[[
local meta = minetest.get_meta(pos)
local param2 = node.param2
local name = clicker:get_player_name()
if name == meta:get_string("is_sit") then
meta:set_string("is_sit", "")
pos.y = pos.y-0.5
<<<<<<< HEAD
return true
=======
--]]
end