mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00: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…
Reference in a new issue