forked from MineClone5/MineClone5
Fix mcl_playerinfo
This commit is contained in:
parent
e291853c01
commit
28f17b1004
|
@ -63,6 +63,10 @@ minetest.register_globalstep(function(dtime)
|
||||||
|
|
||||||
-- what is around me?
|
-- what is around me?
|
||||||
local node_stand, node_stand_below, node_head, node_feet = get_player_nodes(pos)
|
local node_stand, node_stand_below, node_head, node_feet = get_player_nodes(pos)
|
||||||
|
|
||||||
|
if not mcl_playerinfo[name] then
|
||||||
|
mcl_playerinfo[name] = {}
|
||||||
|
end
|
||||||
mcl_playerinfo[name].node_stand = node_stand
|
mcl_playerinfo[name].node_stand = node_stand
|
||||||
mcl_playerinfo[name].node_stand_below = node_stand_below
|
mcl_playerinfo[name].node_stand_below = node_stand_below
|
||||||
mcl_playerinfo[name].node_head = node_head
|
mcl_playerinfo[name].node_head = node_head
|
||||||
|
|
Loading…
Reference in New Issue