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 /fishing.lua | |
parent | 4643128bea08a977c32e10bfc8260d1a91e2451e (diff) |
Fixed rod itemstack return
Diffstat (limited to 'fishing.lua')
-rw-r--r-- | fishing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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!")) |