package-info upd- I mean 1.9.4 update

These are now "required" thanks to Mojang giving us some annotations. Yay..?
This commit is contained in:
Nicholas Ignoffo 2016-05-19 17:43:33 -07:00
parent cb05e643a3
commit de5e23e6c4
132 changed files with 1174 additions and 67 deletions

View file

@ -61,11 +61,12 @@ public class TileBloodTank extends TileEntity implements IFluidHandler
}
@Override
public void writeToNBT(NBTTagCompound tagCompound)
public NBTTagCompound writeToNBT(NBTTagCompound tagCompound)
{
super.writeToNBT(tagCompound);
if (tank.getFluidAmount() != 0)
tagCompound.setTag("tank", tank.writeToNBT(new NBTTagCompound()));
tagCompound.setInteger("capacity", capacity);
return tagCompound;
}
}