mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-28 13:05:16 +01:00
better message for missing parts
This commit is contained in:
parent
53a7eb298f
commit
9b3ef57b90
@ -74,7 +74,7 @@ class HandshakeState : MinecraftConnectionState {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (!hadHostname && VIAaaSConfig.requireHostName) {
|
if (!hadHostname && VIAaaSConfig.requireHostName) {
|
||||||
throw StacklessException("Missing domain suffix in hostname")
|
throw StacklessException("Missing parts in hostname")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packet.nextState == State.STATUS) {
|
if (packet.nextState == State.STATUS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user