mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
Fixed IntComparePredicate
This commit is contained in:
parent
3cea1b6132
commit
0e326b76df
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ public abstract class IntComparePredicate<T extends MageObject> implements Predi
|
|||
|
||||
@Override
|
||||
public final boolean apply(T input, Game game) {
|
||||
int inputValue = input.getPower().getValue();
|
||||
int inputValue = getInputValue(input);
|
||||
switch (type) {
|
||||
case Equal:
|
||||
if (inputValue != value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue