mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
Tell the pack's author about kept module updates when they open a studio
A server that only runs a pack logged every module update the pack kept back, along with a hint to run the update command, for a person who should not run it. The console now logs only the patches Iris took and packs that need a newer Iris. /iris std open lists what the pack kept back and how to take it, on Bukkit and modded alike, so the notice reaches the pack's author.
This commit is contained in:
1 parent
0d18637128
commit
9cc45b41d0
24 files changed
+83
-35
No files matched your search
@@ -123,6 +123,7 @@ public class CommandStudio implements DirectorExecutor {
|
||||
@Param(defaultValue = "false", description = "Attempt to open Studio before a required registry restart", aliases = "f")
|
||||
boolean force) {
|
||||
sender().sendMessage(IrisLanguage.text(BukkitCommandMessagesExtended.COMMAND_STUDIO_OPENING_STUDIO_PACK_SEED, MessageArgument.untrusted("value", dimension.getName()), MessageArgument.untrusted("seed", seed)));
|
||||
KeptModuleUpdates.keptAtLoad(dimension.getLoader()).forEach(sender()::sendMessage);
|
||||
Iris.service(StudioSVC.class).open(sender(), seed, dimension.getLoadKey(), force);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user