mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix typo in function name
This commit is contained in:
@@ -8666,7 +8666,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
* @param player
|
||||
* @return
|
||||
*/
|
||||
public List<SpellAbility> getAllPossibleAbilites(Player player) {
|
||||
public List<SpellAbility> getAllPossibleAbilities(Player player) {
|
||||
// this can only be called by the Human
|
||||
|
||||
final List<SpellAbility> abilities = new ArrayList<SpellAbility>();
|
||||
|
||||
@@ -60,7 +60,7 @@ public class InputPassPriority extends InputSyncronizedBase {
|
||||
|
||||
@Override
|
||||
protected void onCardSelected(Card card, boolean isRmb) {
|
||||
final SpellAbility ab = player.getController().getAbilityToPlay(card.getAllPossibleAbilites(player));
|
||||
final SpellAbility ab = player.getController().getAbilityToPlay(card.getAllPossibleAbilities(player));
|
||||
if ( null != ab) {
|
||||
chosenSa = ab;
|
||||
stop();
|
||||
|
||||
@@ -102,7 +102,7 @@ public class CField implements ICDoc {
|
||||
// TODO: "can play" check needed!
|
||||
|
||||
// should I check for who owns these cards? Are there any abilities to be played from opponent's graveyard?
|
||||
final SpellAbility ab = player.getController().getAbilityToPlay(c.getAllPossibleAbilites(player));
|
||||
final SpellAbility ab = player.getController().getAbilityToPlay(c.getAllPossibleAbilities(player));
|
||||
if ( null != ab) {
|
||||
game.getAction().invoke(new Runnable(){ @Override public void run(){
|
||||
HumanPlay.playSpellAbility(player, ab);
|
||||
|
||||
Reference in New Issue
Block a user