fix
This commit is contained in:
parent
70b47a512c
commit
711865d01b
@ -32,7 +32,9 @@ for _,entry in ipairs(list) do
|
|||||||
local playername = placer:get_player_name()
|
local playername = placer:get_player_name()
|
||||||
local xp = xp_redo.get_xp(playername)
|
local xp = xp_redo.get_xp(playername)
|
||||||
|
|
||||||
minetest.log("action", "[onplace] player " .. playername .. " places " .. entry.name .. " at " .. minetest.pos_to_string(pointed_thing.below))
|
if pointed_thing.type == "node" and pointed_thing.under then
|
||||||
|
minetest.log("action", "[onplace] player " .. playername .. " places " .. entry.name .. " at " .. minetest.pos_to_string(pointed_thing.under))
|
||||||
|
end
|
||||||
|
|
||||||
if xp < entry.xp then
|
if xp < entry.xp then
|
||||||
-- too low
|
-- too low
|
||||||
|
Loading…
x
Reference in New Issue
Block a user