InventoryNode itemParent = null;
if (!item.ParentUUID.equals(UUID.Zero) &&
((itemParent = Items.get(item.ParentUUID)) == null))
{
// OK, we have no data on the parent, let's create a fake one.
InventoryFolder fakeParent = new InventoryFolder(item.ParentUUID);
fakeParent.DescendentCount = 1; // Dear god, please forgive me.
itemParent = new InventoryNode(fakeParent);
Items.put(item.ParentUUID, itemParent);
// Unfortunately, this breaks the nice unified tree
// while we're waiting for the parent's data to come in.