forked from External/mage
Equals should be compared with == but not equals()
This commit is contained in:
parent
1f9b51d833
commit
d93061c0bc
175 changed files with 348 additions and 344 deletions
|
|
@ -85,13 +85,13 @@ public class CounterTargetWithReplacementEffect extends OneShotEffect {
|
|||
StringBuilder sb = new StringBuilder("Counter target ");
|
||||
sb.append(mode.getTargets().get(0).getTargetName());
|
||||
sb.append(". If that spell is countered this way, ");
|
||||
if (targetZone.equals(Zone.EXILED)) {
|
||||
if (targetZone == Zone.EXILED) {
|
||||
sb.append("exile it instead of putting it into its owner's graveyard");
|
||||
}
|
||||
if (targetZone.equals(Zone.HAND)) {
|
||||
if (targetZone == Zone.HAND) {
|
||||
sb.append("put it into its owner's hand instead of into that player's graveyard");
|
||||
}
|
||||
if (targetZone.equals(Zone.LIBRARY)) {
|
||||
if (targetZone == Zone.LIBRARY) {
|
||||
sb.append("put it on ");
|
||||
switch (zoneDetail) {
|
||||
case BOTTOM:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue