mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #2311 from PewPewCricket/master
Fix flow control pump oc compat (i forgot to add one line in the last commit)
This commit is contained in:
commit
66e0a0252b
@ -306,6 +306,7 @@ public class FluidPump extends BlockContainer implements INBTTransformable, ILoo
|
||||
int input = args.checkInteger(0);
|
||||
if (input > 10000 || input < 0)
|
||||
return new Object[] {null, "Number outside of bounds."};
|
||||
bufferSize = input;
|
||||
return new Object[] {true};
|
||||
}
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ public class TileEntityMachineTurbine extends TileEntityLoadedBase implements IS
|
||||
}
|
||||
}
|
||||
nbt.setTag("items", list);
|
||||
|
||||
|
||||
if (customName != null) {
|
||||
nbt.setString("name", customName);
|
||||
}
|
||||
@ -280,7 +280,7 @@ public class TileEntityMachineTurbine extends TileEntityLoadedBase implements IS
|
||||
this.tryProvide(worldObj, xCoord + dir.offsetX, yCoord + dir.offsetY, zCoord + dir.offsetZ, dir);
|
||||
|
||||
tanks[0].setType(0, 1, slots);
|
||||
tanks[0].loadTank(2, 3, slots);
|
||||
tanks[0].loadTank(2, 3, slots);
|
||||
power = Library.chargeItemsFromTE(slots, 4, power, maxPower);
|
||||
|
||||
FluidType in = tanks[0].getTankType();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user