mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-11-15 23:20:16 +01:00
Update init.lua
add /loadalign command - command to allow loading of a schem file which is aligned to player forward direction (and some helper commands)
This commit is contained in:
parent
daa7234c69
commit
0720ec2b77
|
@ -1028,7 +1028,7 @@ minetest.register_chatcommand("/loadalign", {
|
|||
|
||||
|
||||
-- if set use the global posOffset (as this enables offset to be set once and reused)
|
||||
if posOffset == nil then
|
||||
if laPosOffset == nil then
|
||||
posOffx, posOffy, posOffz = 0, 0, 0
|
||||
else
|
||||
posOffx, posOffy, posOffz = laPosOffset.x, laPosOffset.y, laPosOffset.z
|
||||
|
|
Loading…
Reference in New Issue
Block a user