Changes log behaviour
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user