forked from mtcontrib/awards
Spaces around operators
This commit is contained in:
parent
89dc2b074f
commit
8c20ca2f3c
5
init.lua
5
init.lua
@ -122,12 +122,9 @@ awards.register_achievement("award_burn",{
|
|||||||
})
|
})
|
||||||
|
|
||||||
awards.register_onDeath(function(player,data)
|
awards.register_onDeath(function(player,data)
|
||||||
print ("running on death function")
|
|
||||||
local pos = player:getpos()
|
local pos = player:getpos()
|
||||||
|
if pos and minetest.find_node_near(pos, 1, "fire:basic_flame") ~= nil then
|
||||||
if pos and minetest.env:find_node_near(pos, 1, "fire:basic_flame")~=nil then
|
|
||||||
return "award_burn"
|
return "award_burn"
|
||||||
end
|
end
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
end)
|
end)
|
Loading…
Reference in New Issue
Block a user