mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
fixes
This commit is contained in:
@@ -3,7 +3,7 @@ package org.toop.server.frontend;
|
|||||||
import org.toop.Main;
|
import org.toop.Main;
|
||||||
import org.toop.eventbus.Events;
|
import org.toop.eventbus.Events;
|
||||||
import org.toop.eventbus.GlobalEventBus;
|
import org.toop.eventbus.GlobalEventBus;
|
||||||
import org.toop.server.backend.tictactoe.ServerCommand;
|
import org.toop.server.backend.tictactoe.TicTacToeServerCommand;
|
||||||
|
|
||||||
import org.apache.logging.log4j.LogManager;
|
import org.apache.logging.log4j.LogManager;
|
||||||
import org.apache.logging.log4j.Logger;
|
import org.apache.logging.log4j.Logger;
|
||||||
@@ -45,7 +45,7 @@ public final class ServerConnection implements Runnable {
|
|||||||
* @param args The arguments for the command.
|
* @param args The arguments for the command.
|
||||||
*/
|
*/
|
||||||
public void sendCommandByString(String command, String... args) {
|
public void sendCommandByString(String command, String... args) {
|
||||||
if (!ServerCommand.isValid(command)) {
|
if (!TicTacToeServerCommand.isValid(command)) {
|
||||||
logger.error("Invalid command: {}", command);
|
logger.error("Invalid command: {}", command);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user