mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-24 11:44:32 +00:00
Co-authored-by: shedaniel <[email protected]>
This commit is contained in:
1 parent
a9b3e66eea
commit
0e1bace9a8
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ packaging=jar
|
||||
description=Mixin (Fabric fork)
|
||||
url=https://fabricmc.net
|
||||
organization=FabricMC
|
||||
buildVersion=0.11.0
|
||||
buildVersion=0.11.1
|
||||
upstreamMixinVersion=0.8.5
|
||||
buildType=RELEASE
|
||||
asmVersion=9.2
|
||||
|
||||
@@ -274,6 +274,12 @@ public abstract class TypeUtils {
|
||||
* @return java signature
|
||||
*/
|
||||
public static String getJavaSignature(String descriptor) {
|
||||
/* Fabric: Work around https://github.com/SpongePowered/Mixin/issues/560 */
|
||||
if (!descriptor.contains("(")) {
|
||||
return SignaturePrinter.getTypeName(org.objectweb.asm.Type.getType(descriptor), false, true);
|
||||
}
|
||||
/* End fabric */
|
||||
|
||||
return new SignaturePrinter("", descriptor).setFullyQualified(true).toDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user