Fix "Unable to determine descriptor" warnings by setting remap=false at some locations. (#1423)
* set remap=false for "Unable to determine descriptor" warnings * remove suppressWarning annotation
This commit is contained in:
1 parent
c1141ddede
commit
8346199281
6 files changed
+9
-14
No files matched your search
@@ -43,10 +43,10 @@ public abstract class Commands_customCommandsMixin
|
||||
CarpetSettings.impendingFillSkipUpdates.set(false);
|
||||
}
|
||||
|
||||
@SuppressWarnings("UnresolvedMixinReference")
|
||||
@Redirect(method = "performCommand", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lorg/slf4j/Logger;isDebugEnabled()Z"
|
||||
target = "Lorg/slf4j/Logger;isDebugEnabled()Z",
|
||||
remap = false
|
||||
),
|
||||
require = 0
|
||||
)
|
||||
@@ -56,4 +56,4 @@ public abstract class Commands_customCommandsMixin
|
||||
return true;
|
||||
return logger.isDebugEnabled();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user