not tested but should fix it idk

This commit is contained in:
Chayapak 2023-04-06 15:12:17 +07:00
parent 742edc9cc2
commit 55f7c26528

View file

@ -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"
)
);
}
}