From 0720ec2b7754055ec0b0824d9552c2dc55d50335 Mon Sep 17 00:00:00 2001 From: dgm3333 Date: Mon, 26 May 2014 21:11:35 +0100 Subject: [PATCH] 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) --- worldedit_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index 63371d2..6a672b6 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -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