diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-10-15 02:43:07 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-10-15 02:43:07 +0800 |
| commit | 7d1ba596b1a082f5ff9c8f77b82ae01052d05307 (patch) | |
| tree | 0adde448e4b52c15ad0b722db9c58e2c9230c5ac /runtime/src | |
| parent | b27117a84e3872c024369686de63da535cce16ee (diff) | |
| download | RoughlyEnoughItems-7d1ba596b1a082f5ff9c8f77b82ae01052d05307.tar.gz RoughlyEnoughItems-7d1ba596b1a082f5ff9c8f77b82ae01052d05307.tar.bz2 RoughlyEnoughItems-7d1ba596b1a082f5ff9c8f77b82ae01052d05307.zip | |
Fix merge conflicts
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/client/util/CrashReportUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/util/CrashReportUtils.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/util/CrashReportUtils.java index ac7cc3777..d3159a9ca 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/client/util/CrashReportUtils.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/util/CrashReportUtils.java @@ -35,8 +35,8 @@ public class CrashReportUtils { Throwable temp = throwable; while (temp != null) { temp = temp.getCause(); - if (temp instanceof ReportedException reportedException) { - return essential(reportedException, task); + if (temp instanceof ReportedException) { + return essential(temp, task); } } CrashReport report = CrashReport.forThrowable(throwable, task); |
