mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Some minor fixes.
This commit is contained in:
parent
c2fb2de67a
commit
a47c0adfda
2 changed files with 4 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue