File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
common/src/main/java/link/e4mc/mixin Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public abstract class PlayerListMixin {
2828
2929 @ Shadow public abstract MinecraftServer getServer ();
3030
31- @ Inject (method = "/^ <init>$/ " , at = @ At ("TAIL" ))
31+ @ Inject (method = "<init>" , at = @ At ("TAIL" ))
3232 void injectListLoads (CallbackInfo ci ) {
3333 if (Config .INSTANCE .restoreDedicatedCommands .value ()) {
3434 setUsingWhiteList (Config .INSTANCE .useWhiteList .value ());
Original file line number Diff line number Diff line change @@ -38,16 +38,6 @@ dependencies {
3838 shadowBundle(project(" :common" , configuration = " noRemap" ))
3939}
4040
41- tasks.withType(org.gradle.jvm.tasks.Jar ::class ) {
42- archiveBaseName.set(modId)
43- manifest.attributes.run {
44- this [" FMLCorePluginContainsFMLMod" ] = " true"
45- this [" ForceLoadAsMod" ] = " true"
46- this [" TweakClass" ] = " org.spongepowered.asm.launch.MixinTweaker"
47- this [" MixinConfigs" ] = " ${modId} .mixins.json"
48- }
49- }
50-
5141tasks.named<RemapJarTask >(" remapJar" ) {
5242 dependsOn(tasks.shadowJar)
5343 asJar {
You can’t perform that action at this time.
0 commit comments