mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-22 16:39:43 +00:00
Implement toString for GlobalProperties$Keys
Fixes the mixin environment config property keys having strange names (e.g. org.spongepowered.asm.launch.GlobalProperties$Keys@fcd6521.preinit)
This commit is contained in:
1 parent
fdcec19583
commit
6f074ea1d9
1 file changed
+8
-1
@@ -91,7 +91,14 @@ public final class GlobalProperties {
|
||||
}
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
private static IGlobalPropertyService service;
|
||||
|
||||
Reference in new issue
Block a user