summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-08-28 13:27:48 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-08-28 13:27:48 +0100
commit8875a7a1b4be7cc363818515ac19719fb6060b4d (patch)
treea9ac8582a261e223dec8f88c510238fee1995b06
parent4643128bea08a977c32e10bfc8260d1a91e2451e (diff)
Fixed rod itemstack return
-rw-r--r--README.md1
-rw-r--r--fishing.lua2
2 files changed, 2 insertions, 1 deletions
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!"))