mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Integer.max can't be used use Math.max
This commit is contained in:
@@ -5706,7 +5706,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
for (final Trigger t : getTriggers()) {
|
||||
SpellAbility sa = t.getOverridingAbility();
|
||||
if (sa != null && sa.isChapter()) {
|
||||
n = Integer.max(n, sa.getChapter());
|
||||
n = Math.max(n, sa.getChapter());
|
||||
}
|
||||
}
|
||||
return n;
|
||||
|
||||
Reference in New Issue
Block a user