mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Revert changes by Seravy to PlayerControllerHuman: a matter of opinion, wasn't discussed.
This commit is contained in:
@@ -1451,7 +1451,14 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
}
|
||||
|
||||
final ImmutableList<String> colorNames = colorNamesBuilder.build();
|
||||
return MagicColor.fromName(getGui().one(message, colorNames));
|
||||
if (colorNames.size() > 2) {
|
||||
return MagicColor.fromName(getGui().one(message, colorNames));
|
||||
}
|
||||
|
||||
boolean confirmed = false;
|
||||
confirmed = InputConfirm.confirm(this, CardView.get(c), message, true, colorNames);
|
||||
final int idxChosen = confirmed ? 0 : 1;
|
||||
return MagicColor.fromName(colorNames.get(idxChosen));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user