mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 16:54:04 +00:00
Load built-in modules only from the pack's own jar so an Iris update never changes a pack's modules
Iris no longer loads a bundled iris-builtins.jar with every pack. It carries the jar only to copy into new packs (/iris std create), so a pack and a world's copy of it keep the module versions they were made with. Built-in modules report Iris's version instead of "built-in", and /iris std modules lists every module with version, id and jar and takes the pack positionally.
This commit is contained in:
1 parent
620d59ad7a
commit
e7d1ed24cb
54 files changed
+213
-341
No files matched your search
+1
-1
@@ -260,7 +260,7 @@ public class CommandStudio implements DirectorExecutor {
|
||||
|
||||
@Director(description = "List the modules a pack loads", descriptionKey = "iris.director.commandstudio.director.list_pack_modules")
|
||||
public void modules(
|
||||
@Param(defaultValue = "default", description = "The pack to list the modules of", descriptionKey = "iris.director.commandstudio.param.dimension_list_modules", aliases = "dim", contextual = true, contextualOverride = true, customHandler = DimensionHandler.class)
|
||||
@Param(description = "The pack to list the modules of", descriptionKey = "iris.director.commandstudio.param.dimension_list_modules", aliases = "dim", customHandler = DimensionHandler.class)
|
||||
IrisDimension dimension
|
||||
) {
|
||||
PackModulesListing.describe(dimension.getLoader()).lines().forEach(sender()::sendMessage);
|
||||
|
||||
Reference in new issue
Block a user