mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-25 23:15:38 +00:00
Pop last pushitem from output
This commit is contained in:
@@ -249,6 +249,10 @@ public class TranslateStack extends Stack<GraphTargetItem> {
|
||||
}
|
||||
|
||||
if (isEmpty() && connectedOutput != null) {
|
||||
moveToStack(connectedOutput);
|
||||
if (!isEmpty()) {
|
||||
return pop();
|
||||
}
|
||||
for (int i = connectedOutput.size() - 1; i >= 0; i--) {
|
||||
GraphTargetItem item = connectedOutput.get(i);
|
||||
if (item instanceof Block) {
|
||||
|
||||
Reference in New Issue
Block a user