diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgImageSource.java index ca58560210..0898c54bb3 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgImageSource.java @@ -28,8 +28,6 @@ package org.mage.plugins.card.dl.sources; -import java.net.URLEncoder; -import mage.cards.SplitCard; import org.mage.plugins.card.images.CardDownloadData; /** @@ -56,7 +54,7 @@ public class MtgImageSource implements CardImageSource { throw new Exception("Wrong parameters for image: collector id: " + collectorId + ",card set: " + cardSet); } StringBuilder url = new StringBuilder("http://mtgimage.com/set/"); - url.append(cardSet.toUpperCase()).append("/"); + url.append(cardSet.toUpperCase()).append("/"); if (card.isSplitCard()) { url.append(card.getDownloadName().replaceAll(" // ", "")); diff --git a/Mage.Sets/src/mage/sets/modernmasters/JhoiraOfTheGhitu.java b/Mage.Sets/src/mage/sets/modernmasters/JhoiraOfTheGhitu.java index 111b094bea..4670aafb5e 100644 --- a/Mage.Sets/src/mage/sets/modernmasters/JhoiraOfTheGhitu.java +++ b/Mage.Sets/src/mage/sets/modernmasters/JhoiraOfTheGhitu.java @@ -142,12 +142,14 @@ class JhoiraOfTheGhituSuspendEffect extends OneShotEffect { for (Ability ability :card.getAbilities()) { if (!oldAbilities.contains(ability)) { ability.setControllerId(source.getControllerId()); - game.getState().addAbility(ability, card.getId(), card); + ability.setSourceId(source.getSourceId()); + ability.setSourceObject(source.getSourceObject(game)); + game.getState().addAbility(ability, card); } } } - game.informPlayers(new StringBuilder(controller.getName()).append(" suspends (").append(4).append(") ").append(card.getName()).toString()); + game.informPlayers(controller.getName() + " suspends 4 - " + card.getName()); return true; } }