Skip to content

[Bug: <ALL>]: IndexOutOfBounds Crash #130

@Dueris

Description

@Dueris

Minecraft Version

1.21.7

Moonrise Version

latest

Mod Loader

Both (NeoForge and Fabric)

Logs and Crash Reports

Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 11 out of bounds for length 10
	at ca.spottedleaf.moonrise.patches.chunk_system.util.ParallelSearchRadiusIteration.getSearchIteration(ParallelSearchRadiusIteration.java:26) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.ChunkTaskScheduler.schedule(ChunkTaskScheduler.java:742) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.ChunkTaskScheduler.schedule(ChunkTaskScheduler.java:678) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.NewChunkHolder.onChunkGenComplete(NewChunkHolder.java:1586) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.NewChunkHolder.lambda$setGenerationTask$5(NewChunkHolder.java:1673) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkProgressionTask.complete0(ChunkProgressionTask.java:91) ~[main/:?]
	at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkProgressionTask.complete(ChunkProgressionTask.java:74) ~[main/:?]
	... 8 more

Additional Context

When using the flag <PLATFORM>.MaxViewDistance and setting this to 7(this was the integer done in testing), the game crashes from an index bounds exception when entering the end dimension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions