Added NumberFormatException check

master
Alex 2022-03-13 16:51:03 +01:00
parent d1ce57dc2b
commit d054d84339
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ public class SendTestMessageCommand extends Command {
consumer); consumer);
} catch (NumberFormatException exception) { } catch (NumberFormatException exception) {
proxiedPlayer.sendMessage(new TextComponent("§7Error: §cNumberFormatException")); proxiedPlayer.sendMessage(new TextComponent("§7Error: §cNumberFormatException"));
return;
} }
ProxySystem.getInstance().getKraSocketClient().getSocketClient() ProxySystem.getInstance().getKraSocketClient().getSocketClient()