Merge pull request #766 from altrisi/fix-765

Make command stacktrace mixin not required
This commit is contained in:
gnembon authored and GitHub committed 2021-03-16 12:25:53 -03:00
commit cf03536b31
1 file changed
+3 -1
@@ -46,7 +46,9 @@ public abstract class CommandManagerMixin
@Redirect(method = "execute", at = @At(
value = "INVOKE",
target = "Lorg/apache/logging/log4j/Logger;isDebugEnabled()Z"
))
),
require = 0
)
private boolean doesOutputCommandStackTrace(Logger logger)
{
if (CarpetSettings.superSecretSetting)