Corrige alias pour remplacement des anciens sac de couleurs

This commit is contained in:
sys4-fr 2019-02-15 23:46:16 +01:00
parent 1fbfc19692
commit ccd98eb0dc

View File

@ -1,8 +1,8 @@
-- Alias pour les anciens sacs de couleurs
for _,color in ipairs({"orange", "blue", "green", "purple"}) do
minetest.register_alias("unified_inventory:bag_small", "unified_inventory:bag_small_"..color)
minetest.register_alias("unified_inventory:bag_medium", "unified_inventory:bag_medium_"..color)
minetest.register_alias("unified_inventory:bag_large", "unified_inventory:bag_large_"..color)
minetest.register_alias("unified_inventory:bag_small_"..color, "unified_inventory:bag_small")
minetest.register_alias("unified_inventory:bag_medium_"..color, "unified_inventory:bag_medium")
minetest.register_alias("unified_inventory:bag_large_"..color, "unified_inventory:bag_large")
end
minetest.log("action", "[nalc_unified_inventory] loaded.")