remove code that does nothing
parent
c84c30051e
commit
182df544db
|
@ -457,9 +457,6 @@ public class MagicPermanent implements MagicSource,MagicTarget,Comparable<MagicP
|
||||||
return cardDefinition.getScore();
|
return cardDefinition.getScore();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setCached(final boolean aCached) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getDamage() {
|
public int getDamage() {
|
||||||
return damage;
|
return damage;
|
||||||
}
|
}
|
||||||
|
|
|
@ -376,12 +376,6 @@ public class MagicPlayer implements MagicTarget {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCached(final boolean cached) {
|
|
||||||
for (final MagicPermanent permanent : permanents) {
|
|
||||||
permanent.setCached(cached);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBuilderCost(final MagicBuilderManaCost builderCost) {
|
public void setBuilderCost(final MagicBuilderManaCost builderCost) {
|
||||||
this.builderCost=builderCost;
|
this.builderCost=builderCost;
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,12 +49,8 @@ public class MagicDeclareBlockersResultBuilder {
|
||||||
|
|
||||||
// Caching for better speed and immediate mode for triggers.
|
// Caching for better speed and immediate mode for triggers.
|
||||||
game.setImmediate(true);
|
game.setImmediate(true);
|
||||||
attackingPlayer.setCached(true);
|
|
||||||
defendingPlayer.setCached(true);
|
|
||||||
build();
|
build();
|
||||||
game.setImmediate(false);
|
game.setImmediate(false);
|
||||||
attackingPlayer.setCached(false);
|
|
||||||
defendingPlayer.setCached(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Collection<Object> getResults() {
|
Collection<Object> getResults() {
|
||||||
|
|
Loading…
Reference in New Issue