Skip to content

Commit 8f51aef

Browse files
Fix dumb issue with rocket loaders
1 parent cc627ad commit 8f51aef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/zmaster587/advancedRocketry/tile/infrastructure/TileRocketFluidLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public void update() {
117117

118118
//See if we have anything to fill because redstone output
119119
FluidStack rocketFluid = handler.drain(1, false);
120-
if(rocketFluid == null || handler.fill(rocketFluid, false) > 0)
120+
if(handler.fill(rocketFluid, false) > 0)
121121
rocketFluidFull = true;
122122

123123
if(isAllowToOperate) {

src/main/java/zmaster587/advancedRocketry/tile/infrastructure/TileRocketFluidUnloader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void update() {
4545

4646
//See if we have anything to fill because redstone output
4747
FluidStack rocketFluid = handler.drain(1, false);
48-
if(rocketFluid == null || handler.fill(rocketFluid, false) > 0)
48+
if(handler.fill(rocketFluid, false) > 0)
4949
rocketFluidFull = true;
5050

5151
if(isAllowToOperate) {

0 commit comments

Comments
 (0)