Merge branch 'master' of gitlab.com:zughy-friends-minetest/skywars into master

master
Giov4 2020-09-20 14:24:48 +02:00
commit 42e6ef560b
1 changed files with 0 additions and 8 deletions

View File

@ -1,8 +0,0 @@
-- Creates the schematic using pos1 (the first corner of the map) and pos2 (the second one)
function skywars.create_schematic(sender, pos1, pos2, name, arena)
minetest.create_schematic(pos1, pos2, nil, minetest.get_worldpath() .. "/" .. name .. ".mts", nil)
arena.schematic = minetest.get_worldpath() .. "/" .. name .. ".mts"
arena_lib.change_arena_property(sender, "skywars", arena.name, "pos1", pos1)
arena_lib.change_arena_property(sender, "skywars", arena.name, "schematic", arena.schematic)
end