ActionTrace - check stack before execution

This commit is contained in:
Jindra Petřík
2015-12-29 08:19:37 +01:00
parent c4c69abf83
commit 1aa35008aa

View File

@@ -45,6 +45,9 @@ public class ActionTrace extends Action {
@Override
public boolean execute(LocalDataArea lda) {
if (lda.stack.isEmpty()) {
return false;
}
lda.stage.trace(lda.pop());
return true;
}