Fishing gives water bottle instead of glass bottle

This commit is contained in:
Wuzzy 2017-03-11 21:26:45 +01:00
parent 8fd87bd004
commit bf12ce5412

View file

@ -45,8 +45,7 @@ local go_fishing = function(itemstack, user, pointed_thing)
elseif r <= 52 then elseif r <= 52 then
itemname = "mcl_mobitems:string" itemname = "mcl_mobitems:string"
elseif r <= 62 then elseif r <= 62 then
itemname = "mcl_potions:glass_bottle" itemname = "mcl_potions:potion_water"
--TODO itemname = "mcl_potions:bottle_water"
elseif r <= 72 then elseif r <= 72 then
itemname = "mcl_mobitems:bone" itemname = "mcl_mobitems:bone"
elseif r <= 73 then elseif r <= 73 then
@ -60,14 +59,14 @@ local go_fishing = function(itemstack, user, pointed_thing)
-- Treasure -- Treasure
r = math.random(1, 6) r = math.random(1, 6)
if r == 1 then if r == 1 then
-- TODO: Enchanted -- TODO: Enchanted bow
itemname = "mcl_throwing:bow" itemname = "mcl_throwing:bow"
itemwear = math.random(49144, 65535) -- 75%-100% damaged itemwear = math.random(49144, 65535) -- 75%-100% damaged
elseif r == 2 then elseif r == 2 then
-- TODO: Enchanted book -- TODO: Enchanted book
itemname = "mcl_books:book" itemname = "mcl_books:book"
elseif r == 3 then elseif r == 3 then
-- TODO: Enchanted -- TODO: Enchanted fishing rod
itemname = "mcl_fishing:fishing_rod" itemname = "mcl_fishing:fishing_rod"
itemwear = math.random(49144, 65535) -- 75%-100% damaged itemwear = math.random(49144, 65535) -- 75%-100% damaged
elseif r == 4 then elseif r == 4 then