mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Merge branch 'development' into 1.9.4
* development: Fixed turbine crash
This commit is contained in:
commit
b8dc6cc67d
1 file changed
+6
-1
@@ -360,9 +360,14 @@ public class TileEntityTurbineValve extends TileEntityTurbineCasing implements I
|
||||
@Override
|
||||
public int fill(EnumFacing from, FluidStack resource, boolean doFill)
|
||||
{
|
||||
if(structure == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int filled = fluidTank.fill(resource, doFill);
|
||||
|
||||
if(structure != null && doFill)
|
||||
if(doFill)
|
||||
{
|
||||
structure.newSteamInput += filled;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user