Merge pull request #4656 from pmbarrett314/master

Attempted fix for Momir Free For All
This commit is contained in:
LevelX2 2018-05-07 00:53:39 +02:00 committed by GitHub
commit 90d6b29841
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() {