mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
fix pregen command to use mca coords
This commit is contained in:
1 parent
126481833b
commit
37e70fd5bb
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user