Ajout du mod nalc_unified_inventory
Afin d'éviter le crash des joueurs qui avaient des sacs de couleurs.
This commit is contained in:
parent
707a72adfb
commit
df47063b5f
8
nalc_unified_inventory/init.lua
Normal file
8
nalc_unified_inventory/init.lua
Normal 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.")
|
Loading…
Reference in New Issue
Block a user