summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-25 21:14:36 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-25 21:14:36 +0100
commit7ac31319846221186dcd4e2f7e093871c2d815d0 (patch)
tree010020331fb2e9e08709c4856e08e7f3b9703f8c /MCServer
parentBlockArea: Implemented mirroring without meta manipulation (diff)
downloadcuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar.gz
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar.bz2
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar.lz
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar.xz
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.tar.zst
cuberite-7ac31319846221186dcd4e2f7e093871c2d815d0.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index 74b91db97..588b9b407 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -92,6 +92,18 @@ function Initialize(Plugin)
BA1:MirrorYZNoMeta();
BA1:SaveToSchematicFile("schematics/lt_YZ2.schematic");
end
+
+ -- Debug block area rotation:
+ if (BA1:LoadFromSchematicFile("schematics/rot.schematic")) then
+ BA1:RotateCWNoMeta();
+ BA1:SaveToSchematicFile("schematics/rot1.schematic");
+ BA1:RotateCWNoMeta();
+ BA1:SaveToSchematicFile("schematics/rot2.schematic");
+ BA1:RotateCWNoMeta();
+ BA1:SaveToSchematicFile("schematics/rot3.schematic");
+ BA1:RotateCWNoMeta();
+ BA1:SaveToSchematicFile("schematics/rot4.schematic");
+ end
return true
end