aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/torui/coflsky/CoflSkyCommand.java4
-rw-r--r--src/main/java/de/torui/coflsky/FlipperChatCommand.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSkyCommand.java b/src/main/java/de/torui/coflsky/CoflSkyCommand.java
index 51760ec..d5ee857 100644
--- a/src/main/java/de/torui/coflsky/CoflSkyCommand.java
+++ b/src/main/java/de/torui/coflsky/CoflSkyCommand.java
@@ -115,7 +115,7 @@ public class CoflSkyCommand extends CommandBase {
}
break;
default:
- CommandNotRecognized(args, sender);
+ SendCommandToServer(args, sender);
return;
}
}
@@ -159,7 +159,7 @@ public class CoflSkyCommand extends CommandBase {
return status;
}
- public void CommandNotRecognized(String[] args, ICommandSender sender) {
+ public void SendCommandToServer(String[] args, ICommandSender sender) {
String command = String.join(" ", Arrays.copyOfRange(args, 1, args.length));
//JsonStringCommand sc = new JsonStringCommand(args[0], WSClient.gson.toJson(command));
diff --git a/src/main/java/de/torui/coflsky/FlipperChatCommand.java b/src/main/java/de/torui/coflsky/FlipperChatCommand.java
index 4488747..61e7c52 100644
--- a/src/main/java/de/torui/coflsky/FlipperChatCommand.java
+++ b/src/main/java/de/torui/coflsky/FlipperChatCommand.java
@@ -46,7 +46,7 @@ public class FlipperChatCommand extends CoflSkyCommand {
String[] newArgs = new String[args.length +1];
System.arraycopy(args, 0, newArgs, 1, args.length);
newArgs[0] = "chat";
- CommandNotRecognized(newArgs, sender);
+ SendCommandToServer(newArgs, sender);
}).start();
}
}