fix: server id display on connect to offline server
This commit is contained in:
parent
5af7848bda
commit
308406e419
@ -79,7 +79,7 @@ public class KubikPlugin implements ProxyServerRegistry {
|
||||
var server = registeredServers.get(serverId);
|
||||
if (server == null) {
|
||||
logger.error("Could not find server with id '{}'", serverId);
|
||||
player.disconnect(Component.text("Сервер '{}' недоступен", NamedTextColor.RED));
|
||||
player.disconnect(Component.text("Сервер '%s' недоступен".formatted(serverId), NamedTextColor.RED));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user