Energy storage enum-ed
This commit is contained in:
parent
f2d8891bd5
commit
25f06384f4
14 changed files with 32 additions and 67 deletions
|
@ -85,7 +85,7 @@ public class ItemBlockAdjustableSU extends ItemBlock {
|
|||
|
||||
public ItemStack getDropWithNBT(double energy) {
|
||||
NBTTagCompound tileEntity = new NBTTagCompound();
|
||||
ItemStack dropStack = new ItemStack(TRContent.ADJUSTABLE_SU, 1);
|
||||
ItemStack dropStack = TRContent.Machine.ADJUSTABLE_SU.getStack();
|
||||
writeToNBTWithoutCoords(tileEntity, energy);
|
||||
dropStack.setTagCompound(new NBTTagCompound());
|
||||
dropStack.getTagCompound().setTag("tileEntity", tileEntity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue