Timetwister was querying Stack from player... had to add, otherwise it would crash

This commit is contained in:
Maxmtg
2011-09-19 08:00:17 +00:00
parent 211f5db12c
commit 2c7759c470

View File

@@ -876,7 +876,8 @@ public abstract class Player extends GameEntity {
* @param player a {@link forge.Player} object.
*/
public CardList getCardsIn(final Constant.Zone zone) {
return new CardList(getZone(zone).getCards());
Card[] cards = zone == Zone.Stack ? AllZone.getStackZone().getCards() : getZone(zone).getCards();
return new CardList(cards);
}
/**