mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 04:00:53 +00:00
@@ -22,6 +22,16 @@ public class AndItem extends BinaryOpItem {
|
||||
|
||||
public GraphPart firstPart;
|
||||
|
||||
public GraphPart getFirstPart() {
|
||||
if (leftSide instanceof AndItem) {
|
||||
return ((AndItem) leftSide).getFirstPart();
|
||||
}
|
||||
if (leftSide instanceof OrItem) {
|
||||
return ((OrItem) leftSide).getFirstPart();
|
||||
}
|
||||
return firstPart;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<GraphSourceItemPos> getNeededSources() {
|
||||
List<GraphSourceItemPos> ret = super.getNeededSources();
|
||||
|
||||
Reference in New Issue
Block a user