diff --git a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java index 8619346af35..2b8d3698a06 100644 --- a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java +++ b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java @@ -1859,12 +1859,14 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont } final List res = Lists.newArrayListWithCapacity(possibleReplacers.size()); for (ReplacementEffect r : possibleReplacers) - res.add(r.toString()); + res.add(r.getDescription()); String prompt = localizer.getMessage("lblChooseFirstApplyReplacementEffect"); - final String firstStr = first.toString(); - for (int i = 1; i < possibleReplacers.size(); i++) { + final String firstStr = res.get(0); + for (int i = 1; i < res.size(); i++) { // prompt user if there are multiple different options - if (!possibleReplacers.get(i).toString().equals(firstStr)) { + if (!res.get(i).equals(firstStr)) { + if (!GuiBase.isNetworkplay()) //non network game show more info since they don't need serialization + return getGui().one(prompt, possibleReplacers); int index = res.indexOf(getGui().one(prompt, res)); if (index > -1) return possibleReplacers.get(index); @@ -1883,10 +1885,12 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont final List sts = Lists.newArrayListWithCapacity(possibleStatics.size()); for (StaticAbility s : possibleStatics) sts.add(s.toString()); - final String firstStr = first.toString(); - for (int i = 1; i < possibleStatics.size(); i++) { + final String firstStr = sts.get(0); + for (int i = 1; i < sts.size(); i++) { // prompt user if there are multiple different options - if (!possibleStatics.get(i).toString().equals(firstStr)) { + if (!sts.get(i).equals(firstStr)) { + if (!GuiBase.isNetworkplay()) //non network game show more info since they don't need serialization + return getGui().one(prompt, possibleStatics); int index = sts.indexOf(getGui().one(prompt, sts)); if (index > -1) return possibleStatics.get(index);