added a forgotten parameter
This commit is contained in:
parent
ce3fa4dde1
commit
316619d067
@ -28,7 +28,7 @@ public class Passenger {
|
|||||||
**/
|
**/
|
||||||
public void send(String msg, Game game) {
|
public void send(String msg, Game game) {
|
||||||
if (isPlayer) {
|
if (isPlayer) {
|
||||||
String formattedMsg = ServerGameInfoHandler.format(msg);
|
String formattedMsg = ServerGameInfoHandler.format(msg,game);
|
||||||
clientHandler.sendMsgToClient(formattedMsg);
|
clientHandler.sendMsgToClient(formattedMsg);
|
||||||
}
|
}
|
||||||
LOGGER.warn("This object should not just be a passenger. Position:" + position);
|
LOGGER.warn("This object should not just be a passenger. Position:" + position);
|
||||||
|
|||||||
Reference in New Issue
Block a user