Merge pull request #1 from DEMOOH/DEMOOH-fluid_filter_fix

Update GT_Cover_Fluidfilter.java
This commit is contained in:
DEMOOH 2016-07-17 08:18:22 +03:00 committed by GitHub
commit 1313300a1c

View file

@ -41,6 +41,7 @@ public class GT_Cover_Fluidfilter
IFluidContainerItem tContainer = (IFluidContainerItem)tStack.getItem(); IFluidContainerItem tContainer = (IFluidContainerItem)tStack.getItem();
if(tContainer.getFluid(tStack) != null) { if(tContainer.getFluid(tStack) != null) {
aCoverVariable = tContainer.getFluid(tStack).getFluidID(); aCoverVariable = tContainer.getFluid(tStack).getFluidID();
aTileEntity.setCoverDataAtSide(aSide, aCoverVariable);
//System.out.println("fluidcontainer " + aCoverVariable); //System.out.println("fluidcontainer " + aCoverVariable);
FluidStack sFluid = new FluidStack(FluidRegistry.getFluid(aCoverVariable), 1000); FluidStack sFluid = new FluidStack(FluidRegistry.getFluid(aCoverVariable), 1000);
GT_Utility.sendChatToPlayer(aPlayer, "Filter Fluid: " + sFluid.getLocalizedName()); GT_Utility.sendChatToPlayer(aPlayer, "Filter Fluid: " + sFluid.getLocalizedName());