Store the lowest bottom parent in a compacting drawer to the calculation properly later, closes #25
This commit is contained in:
parent
e195b58d88
commit
ed17939eba
|
@ -97,6 +97,7 @@ dependencies {
|
|||
runtimeOnly fg.deobf("mezz.jei:jei-1.18.2:9.5.3.143")
|
||||
//runtimeOnly fg.deobf("curse.maven:refined-storage-243076:3569563")
|
||||
implementation fg.deobf("curse.maven:the-one-probe-245211:3671753")
|
||||
//implementation fg.deobf("curse.maven:allthecompressed-514045:3723881")
|
||||
//runtimeOnly fg.deobf("curse.maven:create-328085:3600402")
|
||||
//runtimeOnly fg.deobf("curse.maven:flywheel-486392:3600401")
|
||||
annotationProcessor "org.spongepowered:mixin:0.8.5:processor"
|
||||
|
|
|
@ -71,7 +71,13 @@ public abstract class CompactingInventoryHandler implements IItemHandler, INBTSe
|
|||
|
||||
public void setup(CompactingUtil compactingUtil){
|
||||
this.resultList = compactingUtil.getResults();
|
||||
this.parent = compactingUtil.getResults().get(2).getResult();
|
||||
this.parent = compactingUtil.getResults().get(0).getResult();
|
||||
if (this.parent.isEmpty()) {
|
||||
this.parent = compactingUtil.getResults().get(1).getResult();
|
||||
}
|
||||
if (this.parent.isEmpty()) {
|
||||
this.parent = compactingUtil.getResults().get(2).getResult();
|
||||
}
|
||||
onChange();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user