Got the routing working to a safe degree.
This commit is contained in:
parent
652b6a45fd
commit
6a6369d08e
6 changed files with 30 additions and 8 deletions
|
@ -55,6 +55,10 @@ public class GhostItemHelper
|
|||
NBTTagCompound tag = newStack.getTagCompound();
|
||||
int amount = getItemGhostAmount(ghostStack);
|
||||
tag.removeTag(Constants.NBT.GHOST_STACK_SIZE);
|
||||
if (tag.hasNoTags())
|
||||
{
|
||||
newStack.setTagCompound(null);
|
||||
}
|
||||
newStack.stackSize = amount;
|
||||
|
||||
return newStack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue