From 28f19fdbb481cd76c1e5f63e84a23339057b193f Mon Sep 17 00:00:00 2001 From: kay27 Date: Tue, 8 Sep 2020 07:21:29 +0400 Subject: [PATCH] Fix potion names, https://git.minetest.land/Wuzzy/MineClone2/issues/829 --- mods/ITEMS/mcl_fishing/init.lua | 2 +- mods/ITEMS/mcl_potions/init.lua | 2 +- mods/PLAYER/wieldview/transform.lua | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/ITEMS/mcl_fishing/init.lua b/mods/ITEMS/mcl_fishing/init.lua index 514cd6cf..1cab8b3a 100644 --- a/mods/ITEMS/mcl_fishing/init.lua +++ b/mods/ITEMS/mcl_fishing/init.lua @@ -69,7 +69,7 @@ local fish = function(itemstack, player) { itemstring = "mcl_mobitems:rotten_flesh", weight = 10 }, { itemstring = "mcl_core:stick", weight = 5 }, { itemstring = "mcl_mobitems:string", weight = 5 }, - { itemstring = "mcl_potions:potion_water", weight = 10 }, + { itemstring = "mcl_potions:water", weight = 10 }, { itemstring = "mcl_mobitems:bone", weight = 10 }, { itemstring = "mcl_dye:black", weight = 1, amount_min = 10, amount_max = 10 }, { itemstring = "mcl_mobitems:string", weight = 10 }, -- TODO: Tripwire Hook diff --git a/mods/ITEMS/mcl_potions/init.lua b/mods/ITEMS/mcl_potions/init.lua index 1083b0c3..4b96a80d 100644 --- a/mods/ITEMS/mcl_potions/init.lua +++ b/mods/ITEMS/mcl_potions/init.lua @@ -182,7 +182,7 @@ local fill_cauldron = function(cauldron, water_type) end end --- Itemstring of potions is “mcl_potions:potion_” +-- Itemstring of potions is “mcl_potions:” minetest.register_craftitem("mcl_potions:water", { description = S("Water Bottle"), diff --git a/mods/PLAYER/wieldview/transform.lua b/mods/PLAYER/wieldview/transform.lua index c1715b2c..0b0145c7 100644 --- a/mods/PLAYER/wieldview/transform.lua +++ b/mods/PLAYER/wieldview/transform.lua @@ -28,10 +28,10 @@ wieldview.transform = { ["mcl_buckets:bucket_lava"]="R270", ["mcl_mobitems:milk_bucket"]="R270", ["mcl_potions:glass_bottle"]="R270", - ["mcl_potions:potion_water"]="R270", - ["mcl_potions:potion_awkward"]="R270", - ["mcl_potions:potion_thick"]="R270", - ["mcl_potions:potion_mundane"]="R270", + ["mcl_potions:water"]="R270", + ["mcl_potions:awkward"]="R270", + ["mcl_potions:thick"]="R270", + ["mcl_potions:mundane"]="R270", ["screwdriver:screwdriver"]="R270", ["screwdriver:screwdriver1"]="R270",