Tried to fix build by removing invalid '>' char.

#story[1246]
This commit is contained in:
Kusal Ekanayake
2017-09-05 18:17:20 +12:00
parent 488ab47c8d
commit 302bc91461
4 changed files with 8 additions and 8 deletions
@@ -388,7 +388,7 @@ public class ServerToClientThread implements Runnable, Observer {
String[] words = chatterText.split("\\s+");
if (words.length > 2 && isHost) {
switch (words[2].trim()) {
case ">speed":
case "/speed":
try {
GameState.setSpeedMultiplier(Double.valueOf(words[3]));
GameState.broadcastChatter(new ChatterMessage(
@@ -399,7 +399,7 @@ public class ServerToClientThread implements Runnable, Observer {
logger.error("cannot parse >speed value");
}
return;
case ">finish":
case "/finish":
GameState.broadcastChatter(new ChatterMessage(
chatterPayload[1],
"SERVER: Game will now finish"