Merge pull request #1 from DEMOOH/DEMOOH-fluid_filter_fix
Update GT_Cover_Fluidfilter.java
This commit is contained in:
commit
1313300a1c
1 changed files with 3 additions and 2 deletions
|
@ -34,13 +34,14 @@ public class GT_Cover_Fluidfilter
|
|||
if(tFluid!=null){
|
||||
//System.out.println(tFluid.getLocalizedName()+" "+tFluid.getFluidID());
|
||||
aCoverVariable = tFluid.getFluidID();
|
||||
aTileEntity.setCoverDataAtSide(aSide, aCoverVariable);
|
||||
aTileEntity.setCoverDataAtSide(aSide, aCoverVariable);
|
||||
FluidStack sFluid = new FluidStack(FluidRegistry.getFluid(aCoverVariable),1000);
|
||||
GT_Utility.sendChatToPlayer(aPlayer, "Filter Fluid: " + sFluid.getLocalizedName());
|
||||
GT_Utility.sendChatToPlayer(aPlayer, "Filter Fluid: " + sFluid.getLocalizedName());
|
||||
}else if(tStack.getItem() instanceof IFluidContainerItem){
|
||||
IFluidContainerItem tContainer = (IFluidContainerItem)tStack.getItem();
|
||||
if(tContainer.getFluid(tStack) != null) {
|
||||
aCoverVariable = tContainer.getFluid(tStack).getFluidID();
|
||||
aTileEntity.setCoverDataAtSide(aSide, aCoverVariable);
|
||||
//System.out.println("fluidcontainer " + aCoverVariable);
|
||||
FluidStack sFluid = new FluidStack(FluidRegistry.getFluid(aCoverVariable), 1000);
|
||||
GT_Utility.sendChatToPlayer(aPlayer, "Filter Fluid: " + sFluid.getLocalizedName());
|
||||
|
|
Loading…
Reference in a new issue