mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Fixed a misnamed function.
This commit is contained in:
@@ -387,7 +387,7 @@ public class CombatUtil {
|
|||||||
* a {@link forge.Combat} object.
|
* a {@link forge.Combat} object.
|
||||||
* @return a boolean.
|
* @return a boolean.
|
||||||
*/
|
*/
|
||||||
public static boolean finishedMandatotyBlocks(final Combat combat) {
|
public static boolean finishedMandatoryBlocks(final Combat combat) {
|
||||||
|
|
||||||
final CardList blockers = AllZoneUtil.getCreaturesInPlay(AllZone.getHumanPlayer());
|
final CardList blockers = AllZoneUtil.getCreaturesInPlay(AllZone.getHumanPlayer());
|
||||||
final CardList attackers = new CardList(combat.getAttackers());
|
final CardList attackers = new CardList(combat.getAttackers());
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public class InputBlock extends Input {
|
|||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
@Override
|
||||||
public final void selectButtonOK() {
|
public final void selectButtonOK() {
|
||||||
if (CombatUtil.finishedMandatotyBlocks(AllZone.getCombat())) {
|
if (CombatUtil.finishedMandatoryBlocks(AllZone.getCombat())) {
|
||||||
// Done blocking
|
// Done blocking
|
||||||
ButtonUtil.reset();
|
ButtonUtil.reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user