mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 11:59:33 +00:00
Enable hotswapper automatically if agent is active
This commit is contained in:
1 parent
b34e7e67eb
commit
ea29f2ba6c
1 file changed
+1
@@ -204,6 +204,7 @@ public class MixinAgent implements IHotSwap {
|
||||
* @param instrumentation Instance to use to transform the mixins
|
||||
*/
|
||||
public static void premain(String arg, Instrumentation instrumentation) {
|
||||
System.setProperty("mixin.hotSwap", "true");
|
||||
MixinAgent.init(instrumentation);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user