mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-10-26 14:33:50 +00:00
Merge pull request #1095 from OndraSter/master
Fix NPE for some (at least Mekanism) pipes
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user