Fixed Chemical Washer, Fluid Tank and Turbine bug.

Co-Authored-By: dev0on <dev0on@users.noreply.github.com>
This commit is contained in:
iKEVAREZ 2018-05-27 15:18:18 +02:00
parent 611627519d
commit 143dc5699f
3 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ public class ContainerChemicalWasher extends Container
return null;
}
}
else if(slotID > 31)
else if(slotID > 30)
{
if(!mergeItemStack(slotStack, 4, 30, false))
{

View file

@ -81,7 +81,7 @@ public class ContainerFluidTank extends Container
}
}
else {
if(slotID >= 2 && slotID <= 8)
if(slotID >= 2 && slotID <= 28)
{
if(!mergeItemStack(slotStack, 29, inventorySlots.size(), false))
{

View file

@ -390,7 +390,7 @@ public class TileEntityTurbineValve extends TileEntityTurbineCasing implements I
{
if(fluid == FluidRegistry.getFluid("steam"))
{
return ((!worldObj.isRemote && structure != null) || (worldObj.isRemote && clientHasStructure));
return ((!worldObj.isRemote && structure != null) || (!worldObj.isRemote && clientHasStructure));
}
return false;