Closed 0xfeeddeadbeef closed 4 years ago
Cave mapping seemingly works now, but exception still happens:
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: java.lang.ArrayIndexOutOfBoundsException: Index -255 out of bounds for length 65536
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.BiomeColors.getFoliageColor(BiomeColors.java:86)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.BiomeColors.getFoliageColor(BiomeColors.java:46)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorPalette.getFoliageColor(ColorPalette.java:97)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.Colors.getFoliageColor(Colors.java:97)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorProviders.getFoliageColor(ColorProviders.java:102)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorProviders.lambda$registerProviders$4(ColorProviders.java:46)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorProviders.getColor(ColorProviders.java:126)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorUtil.blockColor(ColorUtil.java:306)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.colors.ColorUtil.blockColor(ColorUtil.java:287)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.map.data.ChunkData.updateBlock(ChunkData.java:253)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.map.data.ChunkData.updateArea(ChunkData.java:228)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.map.data.ChunkData.lambda$updateChunkArea$1(ChunkData.java:185)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.tasks.TaskManager$Task.run(TaskManager.java:150)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at ru.bulldog.justmap.util.tasks.TaskManager.work(TaskManager.java:123)
[19:34:23] [justmap-chunk-updater-2/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:832)
[19:34:23] [justmap-chunk-updater-1/INFO]: [STDERR]: java.lang.ArrayIndexOutOfBoundsException
Damn, I've forgotten about foliage...
Fixed
When I join servers, cave map does not work (I'm using
unlimited
version), it is all black, and these errors are logged inlatest.log
:Mapping works on the surface. Cave mapping also works on local worlds. Previous version also does work.
Version:
justmap-1.2.11-1.16.3-unlimited.jar