Compare commits

...

2 Commits

Author SHA1 Message Date
Spottedleaf
4d3b4a52a6 Set version to 0.2.0-beta.10 2025-06-09 02:20:27 -07:00
Spottedleaf
a746449be8 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:19:37 -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=t1FlWYl9
neo_lithium_version=iDqQi66g
# Mod Properties
mod_version=0.2.0-SNAPSHOT
mod_version=0.2.0-beta.10
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;