Fixes
This commit is contained in:
parent
b64108d1c6
commit
1f0895322b
3 changed files with 7 additions and 2 deletions
|
@ -108,7 +108,7 @@ public class TileEntityFluidicPlenisher extends TileEntityElectricBlock implemen
|
|||
}
|
||||
}
|
||||
|
||||
if(MekanismUtils.canFunction(this) && getEnergy() >= energyPerTick && fluidTank.getFluid().getFluid().canBePlacedInWorld())
|
||||
if(MekanismUtils.canFunction(this) && getEnergy() >= energyPerTick && fluidTank.getFluid() != null && fluidTank.getFluid().getFluid().canBePlacedInWorld())
|
||||
{
|
||||
if(!finishedCalc)
|
||||
{
|
||||
|
|
|
@ -515,6 +515,11 @@ public final class MekanismUtils
|
|||
*/
|
||||
public static int getBaseOrientation(int side, int blockFacing)
|
||||
{
|
||||
if(side == 0 || side == 1)
|
||||
{
|
||||
return side;
|
||||
}
|
||||
|
||||
if(blockFacing == 3 || side == 1 || side == 0)
|
||||
{
|
||||
if(side == 2 || side == 3)
|
||||
|
|
Loading…
Reference in a new issue