Fixes some UI desync
This commit is contained in:
parent
dd37c07485
commit
c06176c900
7 changed files with 41 additions and 32 deletions
|
@ -353,16 +353,6 @@ class C2SUploadSettingsPacket implements IPacket {
|
|||
|
||||
if (!performRestart) {
|
||||
return PacketResponse.nil;
|
||||
} else {
|
||||
// Send a webhook with all the mods listed
|
||||
String modListText = "";
|
||||
for (var entry in settings.inst!.mods) {
|
||||
modListText += "${entry.mod_name}\n";
|
||||
}
|
||||
|
||||
modListText = modListText.trim();
|
||||
DiscordHookHelper.sendWebHook(settings.inst!.discord,
|
||||
DiscordHookProps.INACTIVE, "Mod List Updated", modListText);
|
||||
}
|
||||
|
||||
// Check if server is running, if not, stop immediately
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue