mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
A world's pack copy carried its own modules/iris-builtins.jar, which went stale with every plugin update and, since a used pack that cannot load stops startup, would stop the server. Now :core:builtinModulesJar packages the jar from core's own compiled classes (moved here from IrisModule's build, with IrisApi's ModuleJarCheck), and core's jar and the Bukkit shadowJar carry it as iris-builtins.jar, leaving its classes out of the plugin's own. IrisModuleHost unpacks it to a temporary folder and bundles it (ModuleHost.bundlingJars), so every pack loads it as if it were in its modules folder. A pack's own copy is left out; Iris warns once with its path. MissingBuiltInModules now only fires for an Iris build without the jar (Iris's own tests), and says so.