mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 00:10:25 +01:00
fix code missing after moving in separated file and inc 0.5 to 1
This commit is contained in:
parent
ef18954a64
commit
d8477debc4
@ -24,6 +24,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
for f in pairs(fields) do
|
||||
if string.find(f, "mobs:") then
|
||||
local pos = player:getpos()
|
||||
pos.y = pos.y+1
|
||||
minetest.add_entity(pos, f)
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user