replace player.getPlayerDefinition().isArtificial() with player.isArtificial()
parent
e4dd8fa27d
commit
8f1bbdda95
|
@ -38,7 +38,7 @@ public class MagicDrawPhase extends MagicPhase {
|
|||
|
||||
// Determines what the purpose is for permanents that can attack,
|
||||
// block or produce mana. Do this after draw, could be a land card.
|
||||
if (player.getPlayerDefinition().isArtificial()) {
|
||||
if (player.isArtificial()) {
|
||||
game.addEvent(new MagicExcludeEvent(player));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ public class PlayerStatistics {
|
|||
gamesWon++;
|
||||
}
|
||||
|
||||
if (!player.getPlayerDefinition().isArtificial()) {
|
||||
if (player.isHuman()) {
|
||||
if (game.isConceded()) {
|
||||
gamesConceded++;
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public class PlayerViewerInfo {
|
|||
graveyard=new MagicCardList(player.getGraveyard());
|
||||
exile=new MagicCardList(player.getExile());
|
||||
library=new MagicCardList(player.getLibrary());
|
||||
isAi = player.getPlayerDefinition().isArtificial();
|
||||
isAi = player.isArtificial();
|
||||
permanents=new ArrayList<PermanentViewerInfo>();
|
||||
for (final MagicPermanent permanent : player.getPermanents()) {
|
||||
permanents.add(new PermanentViewerInfo(game,permanent));
|
||||
|
|
Loading…
Reference in New Issue