IT WORKS.
This commit is contained in:
parent
bb42ae4c93
commit
4da1f6ca19
4 changed files with 4 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,3 +13,4 @@
|
|||
valid_hashes.txt
|
||||
Obf.tar
|
||||
/Server/run/
|
||||
mobf.jar
|
||||
|
|
|
@ -151,7 +151,7 @@ tasks.register('releaseJar', Jar) {
|
|||
from(zipTree(jar.archivePath)) {
|
||||
exclude 'com/baseband/client/DevStub.class'
|
||||
exclude 'com/baseband/client/DevStub.java'
|
||||
exclude 'org/spongepowered'
|
||||
exclude 'org/spongepowered/**'
|
||||
}
|
||||
|
||||
manifest.attributes(
|
||||
|
|
|
@ -41,6 +41,8 @@ minecraft {
|
|||
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
jvmArgs = ["-Xmx700M"]
|
||||
args = ["-tweakClass", "com.baseband.launcher.Tweaker"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,16 +51,6 @@ public class Tweaker implements ITweaker {
|
|||
public void injectIntoClassLoader(LaunchClassLoader launchClassLoader) {
|
||||
new Loader();
|
||||
wrapped.injectIntoClassLoader(launchClassLoader);
|
||||
|
||||
MixinBootstrap.init();
|
||||
|
||||
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.DEFAULT).setSide(MixinEnvironment.Side.CLIENT);
|
||||
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.PREINIT).setSide(MixinEnvironment.Side.CLIENT);
|
||||
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.INIT).setSide(MixinEnvironment.Side.CLIENT);
|
||||
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.DEFAULT).setSide(MixinEnvironment.Side.CLIENT);
|
||||
|
||||
Mixins.addConfiguration("mixins.baseband.json");
|
||||
MixinEnvironment.getDefaultEnvironment().setObfuscationContext("searge");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue