This commit is contained in:
PeytonPlayz595 2023-12-18 16:35:40 -05:00
parent e80061e7ba
commit f4bb2bc8ce

View File

@ -39,7 +39,7 @@ public final class NetworkHandler {
} else {
address = "ws://" + address;
}
} else {
} else if(address.contains("://") && !(address.contains("wss://") || address.contains("ws://"))) {
Minecraft.getMinecraft().setCurrentScreen(new ErrorScreen(":(", "Invalid URI protocol!"));
}