mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
fix FCP oc compat
This commit is contained in:
parent
8686a64141
commit
f0679b04cc
@ -306,6 +306,7 @@ public class FluidPump extends BlockContainer implements INBTTransformable, ILoo
|
|||||||
int input = args.checkInteger(0);
|
int input = args.checkInteger(0);
|
||||||
if (input > 10000 || input < 0)
|
if (input > 10000 || input < 0)
|
||||||
return new Object[] {null, "Number outside of bounds."};
|
return new Object[] {null, "Number outside of bounds."};
|
||||||
|
bufferSize = input;
|
||||||
return new Object[] {true};
|
return new Object[] {true};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -236,7 +236,7 @@ public class TileEntityMachineTurbine extends TileEntityLoadedBase implements IS
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
nbt.setTag("items", list);
|
nbt.setTag("items", list);
|
||||||
|
|
||||||
if (customName != null) {
|
if (customName != null) {
|
||||||
nbt.setString("name", customName);
|
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);
|
this.tryProvide(worldObj, xCoord + dir.offsetX, yCoord + dir.offsetY, zCoord + dir.offsetZ, dir);
|
||||||
|
|
||||||
tanks[0].setType(0, 1, slots);
|
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);
|
power = Library.chargeItemsFromTE(slots, 4, power, maxPower);
|
||||||
|
|
||||||
FluidType in = tanks[0].getTankType();
|
FluidType in = tanks[0].getTankType();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user