From 55f7c265285697648f74708a6c71ee5dc3a7071a Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Thu, 6 Apr 2023 15:12:17 +0700 Subject: [PATCH] not tested but should fix it idk --- .../chomens_bot/plugins/MazePlugin.java | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MazePlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MazePlugin.java index bc059b5..48b34ec 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MazePlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MazePlugin.java @@ -39,33 +39,6 @@ public class MazePlugin { final String command = "minecraft:fill %s %s %s %s %s %s %s"; - // lazy fix for the sus border issue - bot.core().run( - String.format( - command, - x + generator.width(), - startY, - z, - x + generator.width(), - startY + 3, - z + generator.height(), - "minecraft:stone" - ) - ); - - bot.core().run( - String.format( - command, - x, - startY, - z + generator.height(), - x + generator.width(), - startY + 3, - z + generator.height(), - "minecraft:stone" - ) - ); - // fill the floor bot.core().run( String.format( @@ -137,5 +110,32 @@ public class MazePlugin { } } } + + // lazy fix for the sus border issue + bot.core().run( + String.format( + command, + x + generator.width(), + startY, + z, + x + generator.width(), + startY + 3, + z + generator.height(), + "minecraft:stone" + ) + ); + + bot.core().run( + String.format( + command, + x, + startY, + z + generator.height(), + x + generator.width(), + startY + 3, + z + generator.height(), + "minecraft:stone" + ) + ); } }