Skip to content
Snippets Groups Projects
Commit 545b56f9 authored by DonBatman's avatar DonBatman
Browse files

added aliases for xpanes

parent 63e99767
No related branches found
No related tags found
No related merge requests found
-- xjailbarss mod by xyz
local function rshift(x, by)
return math.floor(x / 2 ^ by)
end
......@@ -88,8 +89,15 @@ for i = 1, 15 do
fixed = take
}
})
--register aliases if changing from an xpane version
minetest.register_alias("xpane:jailbars","castle:jailbars")
minetest.register_alias("xpane:jailbars_"..sum,"castle:jailbars_"..sum)
end
minetest.register_node("castle:jailbars", {
description = "Jailbars",
tiles = {"castle_space.png"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment