mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Merge pull request #4656 from pmbarrett314/master
Attempted fix for Momir Free For All
This commit is contained in:
commit
90d6b29841
1 changed files with 6 additions and 1 deletions
|
@ -49,7 +49,7 @@ import mage.players.Player;
|
|||
*
|
||||
* @author nigelzor
|
||||
*/
|
||||
public class MomirGame extends FreeForAll {
|
||||
public class MomirGame extends GameImpl {
|
||||
|
||||
private int numPlayers;
|
||||
|
||||
|
@ -97,6 +97,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() {
|
||||
return new MomirGame(this);
|
||||
|
|
Loading…
Reference in a new issue