diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-08-28 13:27:48 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-08-28 13:27:48 +0100 |
commit | 8875a7a1b4be7cc363818515ac19719fb6060b4d (patch) | |
tree | a9ac8582a261e223dec8f88c510238fee1995b06 | |
parent | 4643128bea08a977c32e10bfc8260d1a91e2451e (diff) |
Fixed rod itemstack return
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | fishing.lua | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 diff --git a/fishing.lua b/fishing.lua index e87c461..32c9aa1 100644 --- a/fishing.lua +++ b/fishing.lua @@ -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!")) |