Make command stacktrace mixin not required

This commit is contained in:
altrisi committed 2021-03-15 20:41:56 +01:00
1 parent 15c5c8753f
commit a3acaed466
1 file changed
+5 -3
@@ -44,9 +44,11 @@ public abstract class CommandManagerMixin
@SuppressWarnings("UnresolvedMixinReference")
@Redirect(method = "execute", at = @At(
value = "INVOKE",
target = "Lorg/apache/logging/log4j/Logger;isDebugEnabled()Z"
))
value = "INVOKE",
target = "Lorg/apache/logging/log4j/Logger;isDebugEnabled()Z"
),
require = 0
)
private boolean doesOutputCommandStackTrace(Logger logger)
{
if (CarpetSettings.superSecretSetting)