SteamWar/BungeeCore
Archiviert
13
2

Revert deletion of more old unused code
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
zOnlyKroks 2023-01-03 13:35:11 +01:00
Ursprung 99deeeb173
Commit cabac4f533

Datei anzeigen

@ -122,6 +122,15 @@ public class Fabric extends BasicListener {
mods.add(Mod.get(mod.getAsString(), Mod.Platform.FABRIC)); mods.add(Mod.get(mod.getAsString(), Mod.Platform.FABRIC));
} }
/*
boolean isSorted = isSortedAlphabetically(mods);
if(!isSorted) {
banPlayer(user, player, "Mods are not sorted alphabetically: " + mods.stream().map(Mod::getModName).collect(Collectors.joining(", ")));
return;
}
*/
if(!neededModsContained(mods)) { if(!neededModsContained(mods)) {
logMessage(user, "Needed mods are not contained", dataString); logMessage(user, "Needed mods are not contained", dataString);
return; return;