From dea874e27864e5d6fbc6a419e39de70826b7c795 Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Fri, 23 Mar 2018 21:47:37 -0500 Subject: [PATCH] Attempted fix for Momir Free For All Work for #1955 --- .../Mage.Game.MomirGame/src/mage/game/MomirGame.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Mage.Server.Plugins/Mage.Game.MomirGame/src/mage/game/MomirGame.java b/Mage.Server.Plugins/Mage.Game.MomirGame/src/mage/game/MomirGame.java index 5627da1695..42dd12b327 100644 --- a/Mage.Server.Plugins/Mage.Game.MomirGame/src/mage/game/MomirGame.java +++ b/Mage.Server.Plugins/Mage.Game.MomirGame/src/mage/game/MomirGame.java @@ -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() {