Some minor fixes.

This commit is contained in:
LevelX2 2015-04-21 00:09:29 +02:00
parent c2fb2de67a
commit a47c0adfda
2 changed files with 4 additions and 3 deletions

View file

@ -96,7 +96,7 @@ public class GameView implements Serializable {
for (StackObject stackObject: state.getStack()) {
if (stackObject instanceof StackAbility) {
// Stack Ability
MageObject object = ((StackAbility)stackObject).getSourceObject(game);
MageObject object = game.getObject(stackObject.getSourceId());
Card card = game.getCard(stackObject.getSourceId());
if (card != null) {
if (object != null) {