Fixed rod itemstack return

This commit is contained in:
TenPlus1 2016-08-28 13:27:48 +01:00
parent 4643128bea
commit 8875a7a1b4
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
- Saplings need clear space above to grow (depending on height of tree)
- Bonemeal changes to suit new sapling growth
- Fixes and tweaks
- Added default Abm overrides
### 1.20

View File

@ -108,7 +108,7 @@ minetest.register_craftitem("ethereal:fishing_rod_baited", {
inv:add_item("main", {name = type})
return {name = "ethereal:fishing_rod"}
return ItemStack("ethereal:fishing_rod")
else
minetest.chat_send_player(user:get_player_name(),
S("Inventory full, Fish Got Away!"))