Attempted to fix TE integration
This commit is contained in:
parent
2726ed1e58
commit
83c7ae8fd4
|
@ -35,6 +35,9 @@ public class TEIntegration
|
||||||
NBTTagCompound pulverizerCompound = new NBTTagCompound();
|
NBTTagCompound pulverizerCompound = new NBTTagCompound();
|
||||||
|
|
||||||
pulverizerCompound.setInteger("energy", energy);
|
pulverizerCompound.setInteger("energy", energy);
|
||||||
|
pulverizerCompound.setCompoundTag("input", new NBTTagCompound());
|
||||||
|
pulverizerCompound.setCompoundTag("primaryOutput", new NBTTagCompound());
|
||||||
|
pulverizerCompound.setCompoundTag("secondaryOutput", new NBTTagCompound());
|
||||||
input.writeToNBT(pulverizerCompound.getCompoundTag("input"));
|
input.writeToNBT(pulverizerCompound.getCompoundTag("input"));
|
||||||
primaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("primaryOutput"));
|
primaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("primaryOutput"));
|
||||||
if (secondaryOutput != null) secondaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("secondaryOutput"));
|
if (secondaryOutput != null) secondaryOutput.writeToNBT(pulverizerCompound.getCompoundTag("secondaryOutput"));
|
||||||
|
|
Loading…
Reference in New Issue