From afde449a0febf682880451d31ee2b8275fe96883 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Wed, 25 Sep 2024 09:52:56 +0400 Subject: [PATCH] typo --- Mage/src/main/java/mage/game/command/Dungeon.java | 2 +- .../main/java/mage/game/command/emblems/RadiationEmblem.java | 2 +- Mage/src/main/java/mage/game/command/emblems/TheRingEmblem.java | 2 +- .../main/java/mage/game/command/emblems/XmageHelperEmblem.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage/src/main/java/mage/game/command/Dungeon.java b/Mage/src/main/java/mage/game/command/Dungeon.java index 407da093bb8b..f6798b3d89c1 100644 --- a/Mage/src/main/java/mage/game/command/Dungeon.java +++ b/Mage/src/main/java/mage/game/command/Dungeon.java @@ -173,7 +173,7 @@ public static Dungeon createDungeon(String name, boolean isNameMustExists) { } } - // source don't have source, so image data can be initialized immediately + // dungeon don't have source, so image data can be initialized immediately if (res != null) { res.setSourceObjectAndInitImage(); } diff --git a/Mage/src/main/java/mage/game/command/emblems/RadiationEmblem.java b/Mage/src/main/java/mage/game/command/emblems/RadiationEmblem.java index 37f58a14114f..8202226d44ce 100644 --- a/Mage/src/main/java/mage/game/command/emblems/RadiationEmblem.java +++ b/Mage/src/main/java/mage/game/command/emblems/RadiationEmblem.java @@ -45,7 +45,7 @@ public RadiationEmblem() { this.setImageFileName(""); // use default this.setImageNumber(foundInfo.getImageNumber()); } else { - // how-to fix: add emblem to the tokens-database TokenRepository->loadXmageTokens + // how-to fix: add image to the tokens-database TokenRepository->loadXmageTokens throw new IllegalArgumentException("Wrong code usage: can't find xmage token info for: " + TokenRepository.XMAGE_IMAGE_NAME_RADIATION); } } diff --git a/Mage/src/main/java/mage/game/command/emblems/TheRingEmblem.java b/Mage/src/main/java/mage/game/command/emblems/TheRingEmblem.java index d7f3aa19a146..e5fb21ccf990 100644 --- a/Mage/src/main/java/mage/game/command/emblems/TheRingEmblem.java +++ b/Mage/src/main/java/mage/game/command/emblems/TheRingEmblem.java @@ -53,7 +53,7 @@ public TheRingEmblem(UUID controllerId) { this.setImageFileName(""); // use default this.setImageNumber(foundInfo.getImageNumber()); } else { - // how-to fix: add emblem to the tokens-database TokenRepository->loadXmageTokens + // how-to fix: add image to the tokens-database TokenRepository->loadXmageTokens throw new IllegalArgumentException("Wrong code usage: can't find xmage token info for: " + TokenRepository.XMAGE_IMAGE_NAME_THE_RING); } } diff --git a/Mage/src/main/java/mage/game/command/emblems/XmageHelperEmblem.java b/Mage/src/main/java/mage/game/command/emblems/XmageHelperEmblem.java index 1fa47c17fbcd..d4f396adaa83 100644 --- a/Mage/src/main/java/mage/game/command/emblems/XmageHelperEmblem.java +++ b/Mage/src/main/java/mage/game/command/emblems/XmageHelperEmblem.java @@ -28,7 +28,7 @@ public XmageHelperEmblem() { this.setImageFileName(""); // use default this.setImageNumber(foundInfo.getImageNumber()); } else { - // how-to fix: add emblem to the tokens-database TokenRepository->loadXmageTokens + // how-to fix: add image to the tokens-database TokenRepository->loadXmageTokens throw new IllegalArgumentException("Wrong code usage: can't find xmage token info for: " + TokenRepository.XMAGE_IMAGE_NAME_HELPER_EMBLEM); } }