9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00

fix pregen command to use mca coords

This commit is contained in:
Daniel Mills
2021-07-19 05:41:01 -04:00
parent 126481833b
commit 37e70fd5bb

View File

@@ -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) {