1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Renamed unbreakable sandstonebrick using default's name

- Added alias for compatibility
This commit is contained in:
LeMagnesium 2015-03-21 23:30:57 +01:00
parent f9b99b9eb8
commit cc1d39e962

View File

@ -190,7 +190,7 @@ minetest.register_node("maptools:sandstone", {
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
minetest.register_node("maptools:sandstone_brick", { minetest.register_node("maptools:sandstonebrick", {
description = S("Unbreakable Sandstone Brick"), description = S("Unbreakable Sandstone Brick"),
range = 12, range = 12,
stack_max = 10000, stack_max = 10000,
@ -199,6 +199,8 @@ minetest.register_node("maptools:sandstone_brick", {
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative}, groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
}) })
-- Compatibility for change made there ^
minetest.register_alias("maptools:sandstone_brick","maptools:sandstonebrick")
minetest.register_node("maptools:desert_stone", { minetest.register_node("maptools:desert_stone", {
description = S("Unbreakable Desert Stone"), description = S("Unbreakable Desert Stone"),