Update QuickPlayMod.java

This commit is contained in:
kirillsaint 2023-10-11 01:09:45 +06:00
parent 4efd98505a
commit 89a70cb7ca

View File

@ -120,7 +120,7 @@ public class QuickPlayMod extends Mod {
if(sending) {
return;
}
String[] args = setting.getName().split(":");
String[] args = setting.getName().split("|");
if(((args[1].equals("Hypixel") && Server.isHypixel()) || (args[1].equals("RuHypixel") && Server.isRuHypixel())) && setting.isKeyDown()) {
runCommand(args[2]);
}