diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-25 13:16:23 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-25 13:16:23 +0100 |
commit | e0707a7af6238dabe2554f14a188cf1ca993e778 (patch) | |
tree | 89b108e27c3696c3e4c34323d4aa3ab95c6bc74f /MCServer | |
parent | Fixed underflow issue in LeakFinder.cpp (diff) | |
download | cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.gz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.bz2 cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.lz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.xz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.zst cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua index 3a7b58a47..74b91db97 100644 --- a/MCServer/Plugins/Debuggers/Debuggers.lua +++ b/MCServer/Plugins/Debuggers/Debuggers.lua @@ -75,6 +75,24 @@ function Initialize(Plugin) BA1:RelLine(2, 2, 2, 9, 8, 8, cBlockArea.baTypes or cBlockArea.baMetas, E_BLOCK_SAPLING, E_META_SAPLING_BIRCH);
BA1:SaveToSchematicFile("schematics/fillrel.schematic");
+ -- Debug block area mirroring:
+ if (BA1:LoadFromSchematicFile("schematics/lt.schematic")) then
+ BA1:MirrorXYNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_XY.schematic");
+ BA1:MirrorXYNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_XY2.schematic");
+
+ BA1:MirrorXZNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_XZ.schematic");
+ BA1:MirrorXZNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_XZ2.schematic");
+
+ BA1:MirrorYZNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_YZ.schematic");
+ BA1:MirrorYZNoMeta();
+ BA1:SaveToSchematicFile("schematics/lt_YZ2.schematic");
+ end
+
return true
end
|