Fix typo in function name

This commit is contained in:
drdev
2013-11-10 18:56:41 +00:00
parent a3376b0502
commit 4748aa2262
3 changed files with 3 additions and 3 deletions

View File

@@ -8666,7 +8666,7 @@ public class Card extends GameEntity implements Comparable<Card> {
* @param player * @param player
* @return * @return
*/ */
public List<SpellAbility> getAllPossibleAbilites(Player player) { public List<SpellAbility> getAllPossibleAbilities(Player player) {
// this can only be called by the Human // this can only be called by the Human
final List<SpellAbility> abilities = new ArrayList<SpellAbility>(); final List<SpellAbility> abilities = new ArrayList<SpellAbility>();

View File

@@ -60,7 +60,7 @@ public class InputPassPriority extends InputSyncronizedBase {
@Override @Override
protected void onCardSelected(Card card, boolean isRmb) { 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) { if ( null != ab) {
chosenSa = ab; chosenSa = ab;
stop(); stop();

View File

@@ -102,7 +102,7 @@ public class CField implements ICDoc {
// TODO: "can play" check needed! // TODO: "can play" check needed!
// should I check for who owns these cards? Are there any abilities to be played from opponent's graveyard? // 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) { if ( null != ab) {
game.getAction().invoke(new Runnable(){ @Override public void run(){ game.getAction().invoke(new Runnable(){ @Override public void run(){
HumanPlay.playSpellAbility(player, ab); HumanPlay.playSpellAbility(player, ab);