summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Debuggers
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-26 22:06:12 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-26 22:06:12 +0100
commit8dc54301a4f0c1d92d9775c3f97901acbf0230f6 (patch)
treec5c5fa436e823f7f49644b35f22249f46ecda5b9 /MCServer/Plugins/Debuggers
parentcBlockArea: Fixed type / meta copypasta errors in mirroring and rotation code (diff)
downloadcuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar.gz
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar.bz2
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar.lz
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar.xz
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.tar.zst
cuberite-8dc54301a4f0c1d92d9775c3f97901acbf0230f6.zip
Diffstat (limited to 'MCServer/Plugins/Debuggers')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index 588b9b407..d3d70b98c 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -105,6 +105,37 @@ function Initialize(Plugin)
BA1:SaveToSchematicFile("schematics/rot4.schematic");
end
+ -- Debug block area rotation:
+ if (BA1:LoadFromSchematicFile("schematics/rotm.schematic")) then
+ BA1:RotateCCW();
+ BA1:SaveToSchematicFile("schematics/rotm1.schematic");
+ BA1:RotateCCW();
+ BA1:SaveToSchematicFile("schematics/rotm2.schematic");
+ BA1:RotateCCW();
+ BA1:SaveToSchematicFile("schematics/rotm3.schematic");
+ BA1:RotateCCW();
+ BA1:SaveToSchematicFile("schematics/rotm4.schematic");
+ end
+
+ -- Debug block area mirroring:
+ if (BA1:LoadFromSchematicFile("schematics/ltm.schematic")) then
+ BA1:MirrorXY();
+ BA1:SaveToSchematicFile("schematics/ltm_XY.schematic");
+ BA1:MirrorXY();
+ BA1:SaveToSchematicFile("schematics/ltm_XY2.schematic");
+
+ BA1:MirrorXZ();
+ BA1:SaveToSchematicFile("schematics/ltm_XZ.schematic");
+ BA1:MirrorXZ();
+ BA1:SaveToSchematicFile("schematics/ltm_XZ2.schematic");
+
+ BA1:MirrorYZ();
+ BA1:SaveToSchematicFile("schematics/ltm_YZ.schematic");
+ BA1:MirrorYZ();
+ BA1:SaveToSchematicFile("schematics/ltm_YZ2.schematic");
+ end
+
+
return true
end