Attempted fix for Momir Free For All

Work for #1955
This commit is contained in:
Paul Barrett 2018-03-23 21:47:37 -05:00 committed by GitHub
parent a71c627fc7
commit dea874e278
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ import mage.players.Player;
*
* @author nigelzor
*/
public class MomirGame extends FreeForAll {
public class MomirGame extends GameImpl {
private int numPlayers;
@ -96,6 +96,11 @@ public class MomirGame extends FreeForAll {
}
return opponents;
}
@Override
public boolean isOpponent(Player player, UUID playerToCheck) {
return !player.getId().equals(playerToCheck) && player.getInRange().contains(playerToCheck);
}
@Override
public MomirGame copy() {