Make command stacktrace mixin not required
This commit is contained in:
1 file changed
+5
-3
@@ -44,9 +44,11 @@ public abstract class CommandManagerMixin
|
|||||||
|
|
||||||
@SuppressWarnings("UnresolvedMixinReference")
|
@SuppressWarnings("UnresolvedMixinReference")
|
||||||
@Redirect(method = "execute", at = @At(
|
@Redirect(method = "execute", at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lorg/apache/logging/log4j/Logger;isDebugEnabled()Z"
|
target = "Lorg/apache/logging/log4j/Logger;isDebugEnabled()Z"
|
||||||
))
|
),
|
||||||
|
require = 0
|
||||||
|
)
|
||||||
private boolean doesOutputCommandStackTrace(Logger logger)
|
private boolean doesOutputCommandStackTrace(Logger logger)
|
||||||
{
|
{
|
||||||
if (CarpetSettings.superSecretSetting)
|
if (CarpetSettings.superSecretSetting)
|
||||||
|
|||||||
Reference in new issue
Block a user