Attempted to fix TE integration
This commit is contained in:
parent
2726ed1e58
commit
83c7ae8fd4
1 changed files with 3 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue