mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'patch-4' into 'master'
BlockEffect.java : fix no method String.join, use Lang.joinHomogenous See merge request core-developers/forge!2227
This commit is contained in:
@@ -12,6 +12,8 @@ import forge.game.spellability.SpellAbility;
|
|||||||
import forge.game.trigger.TriggerType;
|
import forge.game.trigger.TriggerType;
|
||||||
import forge.game.zone.ZoneType;
|
import forge.game.zone.ZoneType;
|
||||||
|
|
||||||
|
import forge.util.Lang;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
public class BlockEffect extends SpellAbilityEffect {
|
public class BlockEffect extends SpellAbilityEffect {
|
||||||
@@ -106,7 +108,7 @@ public class BlockEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sb.append(String.join(", ", blockers)).append(" block ").append(String.join(", ", attackers));
|
sb.append(Lang.joinHomogenous(blockers)).append(" block ").append(Lang.joinHomogenous(attackers));
|
||||||
|
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user