Ajout du mod nalc_unified_inventory

Afin d'éviter le crash des joueurs qui avaient des sacs de couleurs.
This commit is contained in:
sys4-fr 2019-02-15 19:07:40 +01:00
parent 707a72adfb
commit df47063b5f

View File

@ -0,0 +1,8 @@
-- Alias pour les anciens sacs de couleurs
for _,colors 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)
end
minetest.log("action", "[nalc_unified_inventory] loaded.")