aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2021-11-14 16:11:29 +0200
committerSHsuperCM <shsupercm@gmail.com>2021-11-14 16:11:29 +0200
commitde03174eaeaed79c98b26c0abdf4674cdbb79589 (patch)
tree9adc6dbf3888f26389a9a0336242483493d5c7c7 /src
parent8f44343930d09522634e4b5fc5aba7a8e4c954c6 (diff)
downloadCITResewn-de03174eaeaed79c98b26c0abdf4674cdbb79589.tar.gz
CITResewn-de03174eaeaed79c98b26c0abdf4674cdbb79589.tar.bz2
CITResewn-de03174eaeaed79c98b26c0abdf4674cdbb79589.zip
Fixed broken paths log not showing when warns are muted
Fixes #66
Diffstat (limited to 'src')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/mixin/broken_paths/ReloadableResourceManagerImplMixin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/broken_paths/ReloadableResourceManagerImplMixin.java b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/broken_paths/ReloadableResourceManagerImplMixin.java
index 1a3faa8..e2b193a 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/broken_paths/ReloadableResourceManagerImplMixin.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/mixin/broken_paths/ReloadableResourceManagerImplMixin.java
@@ -24,7 +24,7 @@ public class ReloadableResourceManagerImplMixin {
@Inject(method = "reload", at = @At("RETURN"))
public void onReload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs, CallbackInfoReturnable<ResourceReload> cir) {
if (CITResewn.INSTANCE.processingBrokenPaths = this.type == ResourceType.CLIENT_RESOURCES) {
- CITResewn.logWarnLoading("Caution! Broken paths is enabled!");
+ CITResewn.LOG.error("[citresewn] Caution! Broken paths is enabled!");
cir.getReturnValue().whenComplete().thenRun(() -> CITResewn.INSTANCE.processingBrokenPaths = false);
}
}