Prevent stack order being reversed

This commit is contained in:
drdev
2014-09-15 21:28:21 +00:00
parent d83fcbd26f
commit a612161db2
4 changed files with 10 additions and 8 deletions

View File

@@ -248,8 +248,7 @@ public abstract class LocalGameView implements IGameView {
*/
@Override
public StackItemView peekStack() {
final SpellAbilityStackInstance top =
Iterables.getFirst(game.getStack(), null);
final SpellAbilityStackInstance top = game.getStack().peek();
if (top == null) {
return null;
}