Browse Source

Corrige alias pour remplacement des anciens sac de couleurs

tags/nalc-1.0
sys4-fr 1 year ago
parent
commit
ccd98eb0dc
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      nalc_unified_inventory/init.lua

+ 3
- 3
nalc_unified_inventory/init.lua 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.")

Loading…
Cancel
Save