mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Changed typeContains so that it can correctly identify Planes apart from Planeswalkers (fixes the card zoomer incorrectly showing planeswalkers rotated 90 degrees).
This commit is contained in:
@@ -4676,7 +4676,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
private boolean typeContains(final String s) {
|
||||
final Iterator<String> it = this.getType().iterator();
|
||||
while (it.hasNext()) {
|
||||
if (it.next().startsWith(s)) {
|
||||
if (it.next().equals(s)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user