Dupe + bug fixes

Naprawiono kopiowanie z Chemical Washerem i Fluid Tankami, a także bug turbiny polegający na wciąganiu każdego fluidu.
This commit is contained in:
DEv0on committed 2018-05-27 15:21:24 +02:00
1 parent 611627519d
commit 862d889015
3 files changed
+3 -3

No files matched your search

@@ -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))
{
@@ -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))
{
@@ -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;