better message for missing parts

This commit is contained in:
creeper123123321 2021-04-05 15:40:55 -03:00 committed by GitHub
parent 53a7eb298f
commit 9b3ef57b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ class HandshakeState : MinecraftConnectionState {
)
if (!hadHostname && VIAaaSConfig.requireHostName) {
throw StacklessException("Missing domain suffix in hostname")
throw StacklessException("Missing parts in hostname")
}
if (packet.nextState == State.STATUS) {