missing else :v

This commit is contained in:
Ellpeck 2016-12-06 08:19:32 +01:00
parent c9ffb0c630
commit 7c0ca04e85

View file

@ -334,7 +334,7 @@ public abstract class TileEntityBase extends TileEntity implements ITickable{
return (T)handler;
}
}
if(capability == CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY){
else if(capability == CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY){
IFluidHandler tank = this.getFluidHandler(facing);
if(tank != null){
return (T)tank;