survive some exceptions

This commit is contained in:
Maxmtg
2013-04-27 18:50:18 +00:00
parent ba80b7029f
commit 99b15c8c9d

View File

@@ -546,6 +546,7 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen
for (final Card card : model) {
final CardPanel toPanel = getCardPanel(card.getUniqueNumber());
if (null == toPanel) continue; // although, wth it's null?
if (card.isTapped()) {
toPanel.setTapped(true);
toPanel.setTappedAngle(forge.view.arcane.CardPanel.TAPPED_ANGLE);