Skip to content

Commit

Permalink
Updated Beta2Release to 1.0.1-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Sep 13, 2024
1 parent fc0ee66 commit f25b7c7
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 182 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repositories {
dependencies {
implementation "net.raphimc:ViaProxy:3.3.3"

include "dev.mzga:Beta2Release:1.0-SNAPSHOT"
include "dev.mzga:Beta2Release:1.0.1-SNAPSHOT"
}

processResources {
Expand All @@ -68,7 +68,7 @@ jar {
zipTree(it)
}
} {
exclude "META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA", "io/netty/"
exclude "META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA", "io/netty/", "org/apache/logging/"
}

from("LICENSE") {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/raphimc/b2rplugin/Beta2ReleasePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,10 @@ public void onEnable() {

final InjectionClassLoader injectionClassLoader = (InjectionClassLoader) this.getClassLoader();
injectionClassLoader.getTransformerManager().addTransformerPreprocessor(new MixinsTranslator());
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinConsoleWriter"); // Fix logger
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinBlockMappings");
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinConfiguration");
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinModernClient");
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinServer");
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinServerEntityPropertiesPacket"); // fix too strict data validation
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinServerNotifyClientPacket"); // fix too strict data validation
injectionClassLoader.getTransformerManager().addTransformer("net.raphimc.b2rplugin.mixins.MixinServerEntityStatusPacket"); // fix too strict data validation

try {
RStream.of(injectionClassLoader.loadClass("com.github.dirtpowered.betatorelease.Main")).methods().by("main").invoke();
Expand Down
53 changes: 0 additions & 53 deletions src/main/java/net/raphimc/b2rplugin/mixins/MixinConsoleWriter.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f25b7c7

Please sign in to comment.