Fixed Fluid Interface not dropping inventory contents, fixes #997
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- Fixed Wrench in Dismantling Mode voiding Storage Block contents (raoulvdberge)
|
- Fixed Wrench in Dismantling Mode voiding Storage Block contents (raoulvdberge)
|
||||||
- Fixed OPs not having global permissions on secured storage systems (raoulvdberge)
|
- Fixed OPs not having global permissions on secured storage systems (raoulvdberge)
|
||||||
- Fixed crash when Destructor tries to break secured network block (raoulvdberge)
|
- Fixed crash when Destructor tries to break secured network block (raoulvdberge)
|
||||||
|
- Fixed Fluid Interface not dropping inventory contents (raoulvdberge)
|
||||||
|
|
||||||
### 1.4
|
### 1.4
|
||||||
- Added Security Manager (raoulvdberge)
|
- Added Security Manager (raoulvdberge)
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||||||
import net.minecraftforge.fluids.Fluid;
|
import net.minecraftforge.fluids.Fluid;
|
||||||
import net.minecraftforge.fluids.FluidStack;
|
import net.minecraftforge.fluids.FluidStack;
|
||||||
import net.minecraftforge.fluids.FluidTank;
|
import net.minecraftforge.fluids.FluidTank;
|
||||||
|
import net.minecraftforge.items.IItemHandler;
|
||||||
|
import net.minecraftforge.items.wrapper.CombinedInvWrapper;
|
||||||
import org.apache.commons.lang3.tuple.Pair;
|
import org.apache.commons.lang3.tuple.Pair;
|
||||||
|
|
||||||
public class NetworkNodeFluidInterface extends NetworkNode implements IComparable {
|
public class NetworkNodeFluidInterface extends NetworkNode implements IComparable {
|
||||||
@@ -223,6 +225,11 @@ public class NetworkNodeFluidInterface extends NetworkNode implements IComparabl
|
|||||||
return tankOut;
|
return tankOut;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IItemHandler getDrops() {
|
||||||
|
return new CombinedInvWrapper(in, upgrades);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasConnectivityState() {
|
public boolean hasConnectivityState() {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user