/spawnpyramid places pyramid at more useful pos

This commit is contained in:
Wuzzy 2019-08-20 15:11:51 +02:00
parent b00f540567
commit d834170a7b

View File

@ -289,6 +289,7 @@ minetest.register_chatcommand("spawnpyramid", {
room_id = r room_id = r
end end
local ok, msg local ok, msg
pos = vector.add(pos, {x=-11, y=-1, z=0})
if s == 1 then if s == 1 then
ok, msg = make(pos, "default:sandstonebrick", "default:sandstone", "default:sandstone", "default:sand", "sandstone", room_id) ok, msg = make(pos, "default:sandstonebrick", "default:sandstone", "default:sandstone", "default:sand", "sandstone", room_id)
else else