mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
fix pregen command to use mca coords
This commit is contained in:
parent
126481833b
commit
37e70fd5bb
@ -112,7 +112,7 @@ public class CommandIrisPregen extends MortarCommand {
|
|||||||
new PregeneratorJob(PregenTask
|
new PregeneratorJob(PregenTask
|
||||||
.builder()
|
.builder()
|
||||||
.center(new Position2(0, 0))
|
.center(new Position2(0, 0))
|
||||||
.radius(getVal(args[0]))
|
.radius(((getVal(args[0])>>4)>>5) + 1)
|
||||||
.build(),
|
.build(),
|
||||||
new PaperOrMedievalPregenMethod(world, 16));
|
new PaperOrMedievalPregenMethod(world, 16));
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
@ -143,7 +143,7 @@ public class CommandIrisPregen extends MortarCommand {
|
|||||||
new PregeneratorJob(PregenTask
|
new PregeneratorJob(PregenTask
|
||||||
.builder()
|
.builder()
|
||||||
.center(new Position2(0, 0))
|
.center(new Position2(0, 0))
|
||||||
.radius(getVal(args[0]))
|
.radius(((getVal(args[0])>>4)>>5) + 1)
|
||||||
.build(),
|
.build(),
|
||||||
new PaperOrMedievalPregenMethod(world, 16));
|
new PaperOrMedievalPregenMethod(world, 16));
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user