Skip to content

Commit 9bcab6e

Browse files
committed
code cleanup
1 parent 2ed360b commit 9bcab6e

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

src/main/java/com/falsepattern/lib/internal/asm/CoreLoadingPlugin.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
package com.falsepattern.lib.internal.asm;
2222

2323
import com.falsepattern.lib.internal.Tags;
24-
import com.falsepattern.lib.internal.asm.FPTransformer;
2524
import lombok.Getter;
2625
import lombok.val;
2726

src/main/java/com/falsepattern/lib/internal/impl/config/ConfigSyncEventHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public static void registerBus() {
2828
FMLCommonHandler.instance().bus().register(instance);
2929
}
3030
}
31+
3132
@SneakyThrows
3233
@SubscribeEvent
3334
public void onJoinWorld(EntityJoinWorldEvent e) {

src/main/java/com/falsepattern/lib/internal/impl/updates/UpdateCheckerImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ public static CompletableFuture<List<ModUpdateInfo>> fetchUpdatesAsync(String ur
8484
.groupId("com.falsepattern")
8585
.artifactId("json")
8686
.minVersion(new SemanticVersion(0, 4, 0))
87-
.maxVersion(new SemanticVersion(0,
88-
Integer.MAX_VALUE,
87+
.maxVersion(new SemanticVersion(0, Integer.MAX_VALUE,
8988
Integer.MAX_VALUE))
9089
.preferredVersion(new SemanticVersion(0, 4, 1))
9190
.build());

src/main/java/com/falsepattern/lib/mixin/MixinInfo.java

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,18 @@ private static MixinBootstrapperType detect() {
7676
try {
7777
Class.forName("io.github.tox1cozz.mixinbooterlegacy.MixinBooterLegacyPlugin");
7878
return MixinBootstrapperType.MixinBooterLegacy;
79-
} catch (ClassNotFoundException ignored) {}
79+
} catch (ClassNotFoundException ignored) {
80+
}
8081

8182
return MixinBootstrapperType.Other;
8283
}
8384

8485
@StableAPI(since = "0.10.2")
8586
public enum MixinBootstrapperType {
86-
@StableAPI.Expose
87-
None,
88-
@StableAPI.Expose
89-
SpongeMixins,
90-
@StableAPI.Expose
91-
Grimoire,
92-
@StableAPI.Expose
93-
MixinBooterLegacy,
94-
@StableAPI.Expose
95-
Other
87+
@StableAPI.Expose None,
88+
@StableAPI.Expose SpongeMixins,
89+
@StableAPI.Expose Grimoire,
90+
@StableAPI.Expose MixinBooterLegacy,
91+
@StableAPI.Expose Other
9692
}
9793
}

0 commit comments

Comments
 (0)