Normalized code formatting.

This commit is contained in:
WayofTime 2016-03-16 18:41:06 -04:00
parent b1db7c5152
commit 134b11f177
122 changed files with 944 additions and 697 deletions

View file

@ -54,7 +54,7 @@ public class TileBloodTank extends TileEntity implements IFluidHandler
@Override
public FluidTankInfo[] getTankInfo(EnumFacing from)
{
return new FluidTankInfo[]{tank.getInfo()};
return new FluidTankInfo[] { tank.getInfo() };
}
@Override
@ -69,7 +69,8 @@ public class TileBloodTank extends TileEntity implements IFluidHandler
public void writeToNBT(NBTTagCompound tagCompound)
{
super.writeToNBT(tagCompound);
if (tank.getFluidAmount() != 0) tagCompound.setTag("tank", tank.writeToNBT(new NBTTagCompound()));
if (tank.getFluidAmount() != 0)
tagCompound.setTag("tank", tank.writeToNBT(new NBTTagCompound()));
tagCompound.setInteger("capacity", capacity);
}
}