From 8875a7a1b4be7cc363818515ac19719fb6060b4d Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sun, 28 Aug 2016 13:27:48 +0100
Subject: [PATCH] Fixed rod itemstack return

---
 README.md   | 1 +
 fishing.lua | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9ab3804..3d4d74a 100644
--- a/README.md
+++ b/README.md
@@ -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!"))
-- 
GitLab