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
1 changed files with 1 additions and 0 deletions

View File

@ -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