Attempted to fix TE integration

This commit is contained in:
Adubbz 2013-11-21 06:30:35 +11:00
parent 2726ed1e58
commit 83c7ae8fd4

View file

@ -35,6 +35,9 @@ public class TEIntegration
NBTTagCompound pulverizerCompound = new NBTTagCompound();
pulverizerCompound.setInteger("energy", energy);
pulverizerCompound.setCompoundTag("input", new NBTTagCompound());
pulverizerCompound.setCompoundTag("primaryOutput", new NBTTagCompound());
pulverizerCompound.setCompoundTag("secondaryOutput", new NBTTagCompound());
input.writeToNBT(pulverizerCompound.getCompoundTag("input"));
primaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("primaryOutput"));
if (secondaryOutput != null) secondaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("secondaryOutput"));