From 37e70fd5bb3902f08b85a35a7afb12caaaccb547 Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Mon, 19 Jul 2021 05:41:01 -0400 Subject: [PATCH] fix pregen command to use mca coords --- .../com/volmit/iris/core/command/world/CommandIrisPregen.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/volmit/iris/core/command/world/CommandIrisPregen.java b/src/main/java/com/volmit/iris/core/command/world/CommandIrisPregen.java index f34d9a189..422150803 100644 --- a/src/main/java/com/volmit/iris/core/command/world/CommandIrisPregen.java +++ b/src/main/java/com/volmit/iris/core/command/world/CommandIrisPregen.java @@ -112,7 +112,7 @@ public class CommandIrisPregen extends MortarCommand { new PregeneratorJob(PregenTask .builder() .center(new Position2(0, 0)) - .radius(getVal(args[0])) + .radius(((getVal(args[0])>>4)>>5) + 1) .build(), new PaperOrMedievalPregenMethod(world, 16)); } catch (NumberFormatException e) { @@ -143,7 +143,7 @@ public class CommandIrisPregen extends MortarCommand { new PregeneratorJob(PregenTask .builder() .center(new Position2(0, 0)) - .radius(getVal(args[0])) + .radius(((getVal(args[0])>>4)>>5) + 1) .build(), new PaperOrMedievalPregenMethod(world, 16)); } catch (NumberFormatException e) {