Merge pull request #1095 from OndraSter/master

Fix NPE for some (at least Mekanism) pipes
This commit is contained in:
boni committed 2014-10-18 16:52:47 +02:00
commit c20d91d3a1
1 file changed
+3
@@ -72,6 +72,9 @@ public class SmelteryDrainLogic extends MultiServantLogic implements IFluidHandl
{
// Check that the drain is coming from the from the front of the block
// and that the fluid to be drained is in the smeltery.
if(!hasValidMaster())
return false;
boolean containsFluid = fluid == null;
if (fluid != null)
{