mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
fix fluid storage bus trigger
This commit is contained in:
1 parent
96ba5e2997
commit
ea4014fc1e
1 file changed
+4
@@ -56,6 +56,7 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Vec3;
|
||||
import net.minecraftforge.fluids.IFluidHandler;
|
||||
|
||||
public class PartFluidStorageBus extends PartUpgradeable
|
||||
implements IGridTickable, ICellContainer, IMEMonitorHandlerReceiver<IAEFluidStack>, IPriorityHost {
|
||||
@@ -289,6 +290,9 @@ public class PartFluidStorageBus extends PartUpgradeable
|
||||
this.resetCache(true);
|
||||
this.resetCache();
|
||||
}
|
||||
} else if (te instanceof IFluidHandler) {
|
||||
this.resetCache(true);
|
||||
this.resetCache();
|
||||
} else {
|
||||
this.resetCache(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user