From c5429f0515732522f87cc292fc051a4ff58abdb7 Mon Sep 17 00:00:00 2001 From: CocoTheOwner Date: Tue, 7 Sep 2021 22:16:52 +0200 Subject: [PATCH] Dum --- build.gradle | 2 +- .../java/com/volmit/iris/core/commands/CommandIris.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 80ecdc864..5895135cc 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ def main = 'com.volmit.iris.Iris' registerCustomOutputTask('Cyberpwn', 'C://Users/cyberpwn/Documents/development/server/plugins', name) registerCustomOutputTask('Psycho', 'D://Dan/MinecraftDevelopment/server/plugins', name) registerCustomOutputTask('ArcaneArts', 'C://Users/arcane/Documents/development/server/plugins', name) -registerCustomOutputTask('Coco', 'C:/Users/sjoer/Documents/Development/MCServer/plugins', name) +registerCustomOutputTask('Coco', 'G://MCServer/plugins', name) registerCustomOutputTask('Strange', 'D://Servers/1.17 Test Server/plugins', name) // ============================================================== diff --git a/src/main/java/com/volmit/iris/core/commands/CommandIris.java b/src/main/java/com/volmit/iris/core/commands/CommandIris.java index e95d8bae6..d63beb96a 100644 --- a/src/main/java/com/volmit/iris/core/commands/CommandIris.java +++ b/src/main/java/com/volmit/iris/core/commands/CommandIris.java @@ -196,14 +196,14 @@ public class CommandIris implements DecreeExecutor { BurstExecutor b = MultiBurst.burst.burst(); b.setMulticore(false); int rad = engine.getMantle().getRealRadius(); - for (int i = -(vd + rad); i <= vd + rad; i++) { - for (int j = -(vd + rad); j <= vd + rad; j++) { + for (int i = -(radius + rad); i <= radius + rad; i++) { + for (int j = -(radius + rad); j <= radius + rad; j++) { engine.getMantle().getMantle().deleteChunk(i + cx.getX(), j + cx.getZ()); } } - for (int i = -vd; i <= vd; i++) { - for (int j = -vd; j <= vd; j++) { + for (int i = -radius; i <= radius; i++) { + for (int j = -radius; j <= radius; j++) { int finalJ = j; int finalI = i; b.queue(() -> plat.injectChunkReplacement(player().getWorld(), finalI + cx.getX(), finalJ + cx.getZ(), (f) -> {