Skip to content

Commit

Permalink
Implements the new interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MCTBL committed Nov 19, 2023
1 parent 52b58f8 commit de2e611
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
dependencies {
api('com.github.GTNewHorizons:NotEnoughItems:2.4.12-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-285-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-286-GTNH:dev')
api('curse.maven:cofh-core-69162:2388751')
api('com.github.GTNewHorizons:waila:1.6.5:dev')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ public int getStatusForCell() {

@Override
public boolean canGetInv() {
return this.getCellInv() != null;
IFluidCellInventory cellInv = this.getCellInv();
if (cellInv instanceof CreativeFluidCellInventory) {
return false;
} else {
return true;
}
}

@Override
Expand Down Expand Up @@ -118,7 +123,7 @@ public int getCellStatus() {
}

@Override
public StorageChannel getCellType() {
return StorageChannel.FLUIDS;
public TYPE getCellType() {
return TYPE.FLUID;
}
}

0 comments on commit de2e611

Please sign in to comment.