- 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:
Agetian
2014-01-29 06:46:51 +00:00
parent a8bf257391
commit 0730e2d774

View File

@@ -4676,7 +4676,7 @@ public class Card extends GameEntity implements Comparable<Card> {
private boolean typeContains(final String s) { private boolean typeContains(final String s) {
final Iterator<String> it = this.getType().iterator(); final Iterator<String> it = this.getType().iterator();
while (it.hasNext()) { while (it.hasNext()) {
if (it.next().startsWith(s)) { if (it.next().equals(s)) {
return true; return true;
} }
} }