code cleanup

This commit is contained in:
FalsePattern committed 2022-08-21 10:20:40 +02:00
1 parent 2ed360b26c
commit 9bcab6eb1a
4 files changed
+9 -14

No files matched your search

@@ -28,6 +28,7 @@ public final class ConfigSyncEventHandler {
FMLCommonHandler.instance().bus().register(instance);
}
}
@SneakyThrows
@SubscribeEvent
public void onJoinWorld(EntityJoinWorldEvent e) {
@@ -84,8 +84,7 @@ public final class UpdateCheckerImpl {
.groupId("com.falsepattern")
.artifactId("json")
.minVersion(new SemanticVersion(0, 4, 0))
.maxVersion(new SemanticVersion(0,
Integer.MAX_VALUE,
.maxVersion(new SemanticVersion(0, Integer.MAX_VALUE,
Integer.MAX_VALUE))
.preferredVersion(new SemanticVersion(0, 4, 1))
.build());