mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Predicate: isTrue renamed to apply, this class now implements com.google.common.base.Predicate (Guava iterables may use them now)
This commit is contained in:
@@ -372,7 +372,7 @@ public class PhaseUtil {
|
||||
|
||||
list = list.filter(new Predicate<Card>() {
|
||||
@Override
|
||||
public boolean isTrue(final Card c) {
|
||||
public boolean apply(final Card c) {
|
||||
return !c.getDamageHistory().getCreatureBlockedThisCombat();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user