Browse Source

[nalc_beds] Correction d'alias

tags/nalc-1.0
sys4-fr 1 year ago
parent
commit
9733bbf19f
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      nalc_beds/init.lua

+ 4
- 1
nalc_beds/init.lua View File

@@ -53,6 +53,8 @@ for _, colour in pairs({"white", "black", "blue", "green"}) do
-- Alias for retro compatibility
minetest.register_alias("beds:fancy_bed_"..colour.."_bottom", "nalc_beds:fancy_bed_"..colour.."_bottom")
minetest.register_alias("beds:fancy_bed_"..colour.."_top", "nalc_beds:fancy_bed_"..colour.."_top")
minetest.register_alias("nalc:fancy_bed_"..colour.."_bottom", "nalc_beds:fancy_bed_"..colour.."_bottom")
minetest.register_alias("nalc:fancy_bed_"..colour.."_top", "nalc_beds:fancy_bed_"..colour.."_top")
-- simple shaped bed
beds.register_bed(
@@ -93,7 +95,8 @@ for _, colour in pairs({"white", "black", "blue", "green"}) do
-- Alias for retro compatibility
minetest.register_alias("beds:bed_"..colour.."_bottom", "nalc_beds:bed_"..colour.."_bottom")
minetest.register_alias("beds:bed_"..colour.."_top", "nalc_beds:bed_"..colour.."_top")
minetest.register_alias("nalc:bed_"..colour.."_bottom", "nalc_beds:bed_"..colour.."_bottom")
minetest.register_alias("nalc:bed_"..colour.."_top", "nalc_beds:bed_"..colour.."_top")
-- Fuel
minetest.register_craft(


Loading…
Cancel
Save