forked from External/mage
Fix typo in method name.
This commit is contained in:
parent
aa767f68ce
commit
4dbce1132c
19 changed files with 22 additions and 27 deletions
|
|
@ -76,7 +76,7 @@ public class ExileCardsFromTopOfLibraryControllerEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
exileZoneId = CardUtil.getExileZoneId(game, source);
|
||||
exileZoneName = CardUtil.createObjectRealtedWindowTitle(source, game, null);
|
||||
exileZoneName = CardUtil.createObjectRelatedWindowTitle(source, game, null);
|
||||
}
|
||||
|
||||
Set<Card> cards = controller.getLibrary().getTopCards(game, amount);
|
||||
|
|
|
|||
|
|
@ -1895,9 +1895,9 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
return;
|
||||
}
|
||||
if (postToLog) {
|
||||
game.getState().getRevealed().add(CardUtil.createObjectRealtedWindowTitle(source, game, titleSuffix), cards);
|
||||
game.getState().getRevealed().add(CardUtil.createObjectRelatedWindowTitle(source, game, titleSuffix), cards);
|
||||
} else {
|
||||
game.getState().getRevealed().update(CardUtil.createObjectRealtedWindowTitle(source, game, titleSuffix), cards);
|
||||
game.getState().getRevealed().update(CardUtil.createObjectRelatedWindowTitle(source, game, titleSuffix), cards);
|
||||
}
|
||||
if (postToLog && !game.isSimulation()) {
|
||||
StringBuilder sb = new StringBuilder(getLogName()).append(" reveals ");
|
||||
|
|
@ -1928,7 +1928,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
@Override
|
||||
public void lookAtCards(Ability source, String titleSuffix, Cards cards, Game game) {
|
||||
game.getState().getLookedAt(this.playerId).add(CardUtil.createObjectRealtedWindowTitle(source, game, titleSuffix), cards);
|
||||
game.getState().getLookedAt(this.playerId).add(CardUtil.createObjectRelatedWindowTitle(source, game, titleSuffix), cards);
|
||||
game.fireUpdatePlayersEvent();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -749,7 +749,7 @@ public final class CardUtil {
|
|||
return true;
|
||||
}
|
||||
|
||||
public static String createObjectRealtedWindowTitle(Ability source, Game game, String textSuffix) {
|
||||
public static String createObjectRelatedWindowTitle(Ability source, Game game, String textSuffix) {
|
||||
String title;
|
||||
if (source != null) {
|
||||
MageObject sourceObject = game.getObject(source);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue