Got the routing working to a safe degree.

This commit is contained in:
WayofTime 2016-01-14 15:03:13 -05:00
parent 652b6a45fd
commit 6a6369d08e
6 changed files with 30 additions and 8 deletions

View file

@ -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;