mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 08:12:05 +00:00
ActionTrace - check stack before execution
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user