Add files via upload

master
AiTechEye 2020-05-23 22:42:35 +02:00 committed by GitHub
parent c6c3bbd43a
commit 55ee097604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ if not def.no_spawnitem and (not def.visual or def.visual=="mesh") then
pos.y=pos.y+0.5 + def.spawn_y
minetest.add_entity(pos, def.mod_name ..":" .. def.name):set_yaw(math.random(0,6.28))
itemstack:take_item()
minetest.check_for_falling(pos)
end
return itemstack
end,