mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-24 10:34:29 +00:00
fix xlint warnings
This commit is contained in:
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!");
|
||||
|
||||
Reference in new issue
Block a user