Changes log behaviour

This commit is contained in:
Darto KLoning
2026-09-06 15:00:13 +07:00
parent ecc67d99ae
commit db84a0e4dd
4 changed files with 21 additions and 14 deletions
@@ -8,7 +8,7 @@ import java.nio.file.StandardCopyOption;
/**
* Satu-satunya tempat yang mengetahui nama file konfigurasi versi lama.
* Runtime v1.2.0 hanya membaca/menulis file di config/lobby/.
* Runtime saat ini hanya membaca/menulis file di config/lobby/.
*/
public final class LegacyConfigMigrator {
private LegacyConfigMigrator() {}
@@ -226,10 +226,12 @@ public final class LobbySystemsMod implements ModInitializer {
return 0;
}
source.sendSuccess(() -> Component.literal(
"§aLobby Systems direload. §7Lobby: §f" + CONFIG.get().lobbyDimension
+ " §7| Minimum play: §f" + CONFIG.get().minimumPlaySeconds + "s"
+ " §7| Portals: §f" + PORTALS.size()), false);
if (source.getEntity() instanceof ServerPlayer player) {
player.sendSystemMessage(Component.literal(
"§aLobby Systems direload. §7Lobby: §f" + CONFIG.get().lobbyDimension
+ " §7| Minimum play: §f" + CONFIG.get().minimumPlaySeconds + "s"
+ " §7| Portals: §f" + PORTALS.size()));
}
LobbyLog.state(
"RELOAD COMPLETE",
"Lobby: " + CONFIG.get().lobbyDimension,