Compare commits

...

2 Commits

Author SHA1 Message Date
Spottedleaf
292d3ca982 Set version to 0.3.0-beta.2 2025-06-09 02:25:32 -07:00
Spottedleaf
25ce72434f Fix infinite loop in RegionFile IO
If an exception is thrown during decompress then the read process
would be started again, which of course would eventually throw in
the decompress process.
2025-06-09 02:23:45 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -21,6 +21,6 @@ junit_version=5.11.3
fabric_lithium_version=nhc57Td2
neo_lithium_version=P5VT33Jo
# Mod Properties
mod_version=0.3.0-SNAPSHOT
mod_version=0.3.0-beta.2
maven_group=ca.spottedleaf.moonrise
archives_base_name=moonrise

View File

@@ -1143,7 +1143,7 @@ public final class MoonriseRegionFileIO {
LOGGER.error("Failed to decompress chunk data for task: " + this.toString(), thr);
}
if (compoundTag == null) {
if (throwable == null && compoundTag == null) {
// need to re-try from the start
this.scheduleReadIO();
return;