fix class name in some comments and console output

This commit is contained in:
slapshot5
2011-12-12 13:26:10 +00:00
parent 37a6d1b45e
commit 80732986cc
3 changed files with 6 additions and 6 deletions

View File

@@ -645,7 +645,7 @@ public class PhaseUtil {
// ***** Combat Utility **********
// TODO: the below functions should be removed and the code blocks that use
// them should instead use SA_Restriction
// them should instead use SpellAbilityRestriction
/**
* <p>
* isBeforeAttackersAreDeclared.

View File

@@ -1270,7 +1270,7 @@ public class AbilityFactory {
* a {@link forge.card.spellability.SpellAbility} object.
*/
private void makeRestrictions(final SpellAbility sa) {
// SpellAbility_Restrictions should be added in here
// SpellAbilityRestrictions should be added in here
final SpellAbilityRestriction restrict = sa.getRestrictions();
if (this.mapParams.containsKey("Flashback")) {
sa.setFlashBackAbility(true);

View File

@@ -33,7 +33,7 @@ import forge.card.cardfactory.CardFactoryUtil;
/**
* <p>
* SpellAbility_Restriction class.
* SpellAbilityRestriction class.
* </p>
*
* @author Forge
@@ -51,7 +51,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
/**
* <p>
* Constructor for SpellAbility_Restriction.
* Constructor for SpellAbilityRestriction.
* </p>
*/
public SpellAbilityRestriction() {
@@ -208,7 +208,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
Player activator = sa.getActivatingPlayer();
if (activator == null) {
activator = c.getController();
System.out.println(c.getName() + " Did not have activator set in SpellAbility_Restriction.canPlay()");
System.out.println(c.getName() + " Did not have activator set in SpellAbilityRestriction.canPlay()");
}
if (this.isSorcerySpeed() && !Phase.canCastSorcery(activator)) {
@@ -349,4 +349,4 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
return true;
} // canPlay()
} // end class SpellAbility_Restriction
} // end class SpellAbilityRestriction