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

@ -33,12 +33,13 @@ public class TileSpectralBlock extends TileEntity implements ITickable
}
@Override
public void writeToNBT(NBTTagCompound tagCompound)
public NBTTagCompound writeToNBT(NBTTagCompound tagCompound)
{
super.writeToNBT(tagCompound);
tagCompound.setInteger(Constants.NBT.TICKS_REMAINING, ticksRemaining);
tagCompound.setString(Constants.NBT.CONTAINED_BLOCK_NAME, Strings.isNullOrEmpty(containedBlockName) ? "" : containedBlockName);
tagCompound.setInteger(Constants.NBT.CONTAINED_BLOCK_META, containedBlockMeta);
return tagCompound;
}
@Override