1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-17 07:50:29 +01:00

fix code missing after moving in separated file and inc 0.5 to 1

This commit is contained in:
crabman77 2015-08-19 15:31:40 +02:00
parent ef18954a64
commit d8477debc4

View File

@ -24,6 +24,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
for f in pairs(fields) do for f in pairs(fields) do
if string.find(f, "mobs:") then if string.find(f, "mobs:") then
local pos = player:getpos() local pos = player:getpos()
pos.y = pos.y+1
minetest.add_entity(pos, f) minetest.add_entity(pos, f)
return return
end end