fix xlint warnings

This commit is contained in:
FalsePattern committed 2024-06-07 19:56:58 +02:00
1 parent 35bd58a9d0
commit 8c77bf1110
2 files changed
+3 -2

No files matched your search

@@ -34,6 +34,7 @@ public class EndlessIDsCore implements IFMLLoadingPlugin {
val cl = Launch.classLoader;
val field = LaunchClassLoader.class.getDeclaredField("transformerExceptions");
field.setAccessible(true);
@SuppressWarnings("unchecked")
val exceptions = (Set<String>) field.get(cl);
if (exceptions.contains("code.elix_x.coremods")) {
EndlessIDsTransformer.logger.info("AntiIDConflict detected!");