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