forked from External/mage
Fixed a bug of handling of tournament sub tables if a user left. Some chnages to match view.
This commit is contained in:
parent
8dbd996646
commit
3699b7ca3d
11 changed files with 57 additions and 32 deletions
|
|
@ -30,7 +30,7 @@ package mage.server.game;
|
|||
|
||||
import java.util.UUID;
|
||||
import mage.game.Game;
|
||||
import mage.game.match.Match;
|
||||
import mage.game.Table;
|
||||
import mage.interfaces.callback.ClientCallback;
|
||||
import mage.server.User;
|
||||
import mage.server.UserManager;
|
||||
|
|
@ -123,8 +123,8 @@ public class GameWatcher {
|
|||
return new GameView(game.getState(), game, null);
|
||||
}
|
||||
|
||||
public GameEndView getGameEndView(UUID playerId, Match match) {
|
||||
return new GameEndView(game.getState(), game, playerId, match);
|
||||
public GameEndView getGameEndView(UUID playerId, Table table) {
|
||||
return new GameEndView(game.getState(), game, playerId, table);
|
||||
}
|
||||
|
||||
public boolean isPlayer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue