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 ********** // ***** Combat Utility **********
// TODO: the below functions should be removed and the code blocks that use // 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> * <p>
* isBeforeAttackersAreDeclared. * isBeforeAttackersAreDeclared.

View File

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

View File

@@ -33,7 +33,7 @@ import forge.card.cardfactory.CardFactoryUtil;
/** /**
* <p> * <p>
* SpellAbility_Restriction class. * SpellAbilityRestriction class.
* </p> * </p>
* *
* @author Forge * @author Forge
@@ -51,7 +51,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
/** /**
* <p> * <p>
* Constructor for SpellAbility_Restriction. * Constructor for SpellAbilityRestriction.
* </p> * </p>
*/ */
public SpellAbilityRestriction() { public SpellAbilityRestriction() {
@@ -208,7 +208,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
Player activator = sa.getActivatingPlayer(); Player activator = sa.getActivatingPlayer();
if (activator == null) { if (activator == null) {
activator = c.getController(); 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)) { if (this.isSorcerySpeed() && !Phase.canCastSorcery(activator)) {
@@ -349,4 +349,4 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
return true; return true;
} // canPlay() } // canPlay()
} // end class SpellAbility_Restriction } // end class SpellAbilityRestriction