Another bugfix in returning itemstack

master
PilzAdam 2012-10-05 15:18:54 +02:00
parent 5c0541e2a8
commit 7d24a4eea0
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ minetest.register_node(":default:sign_wall", {
if wdir == 0 then
--how would you add sign to ceiling?
minetest.env:add_item(above, "default:sign_wall")
return ItemStack("")
itemstack:take_item()
return itemstack
elseif wdir == 1 then
minetest.env:add_node(above, {name = "signs:sign_yard", param2 = fdir})
sign_info = signs_yard[fdir + 1]