Fixed aesu powers in creative tab, more work moving away from ic2 core and only needing ic2 api

This commit is contained in:
modmuss50 2015-07-23 13:42:20 +01:00
parent 277e5e5e45
commit 496151fcae
10 changed files with 100 additions and 42 deletions

View file

@ -82,6 +82,9 @@ public class ItemBlockAesu extends ItemBlock {
public void writeToNBTWithoutCoords(NBTTagCompound tagCompound, double energy)
{
NBTTagCompound data = new NBTTagCompound();
data.setDouble("energy", energy);
tagCompound.setTag("TilePowerAcceptor", data);
tagCompound.setDouble("energy", energy);
tagCompound.setDouble("euChange", 0);
tagCompound.setDouble("euLastTick", 0);