mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 06:11:06 +00:00
fix pregen command to use mca coords
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user