public static HashMap<UUID, Inventory> onPackageMakerInventoryOpen(Player p, HashMap<UUID, PackageBlock> packages, HashMap<UUID, Inventory> inventories) {
        p.playSound(p.getLocation(), Sound.CHEST_OPEN, 1, 1);
        Inventory inv = Bukkit.getServer().createInventory(null, InventoryType.CHEST, PACKAGEMAKERNAME);
        if (packages.containsKey(p.getUniqueId()) && ChestDelivery.allowPackageEdit) {
            inv.setItem(0, Mechanics.createItem(Material.CHEST, 1, (short) 0, PACKAGEPAGENAME, "Press to see all of your current packages"));
        }
        if (inventories.containsKey(p.getUniqueId())) {
            for (ItemStack i : inventories.get(p.getUniqueId()).getContents()) {
                if (i != null) {
                    if (!(i.isSimilar(Mechanics.createItem(Material.CHEST, 1, (short) 0, PACKAGEPAGENAME, "Press to return to " + PACKAGEPAGENAME))
                            || i.isSimilar(Mechanics.createItem(Material.CHEST, 1, (short) 0, PACKAGEMAKERNAME, "Press to return to " + PACKAGEMAKERNAME))
                            || i.isSimilar(Mechanics.createItem(Material.CHEST, 1, (short) 0, PACKAGEPAGENAME, "Press to see all of your current packages")))) {
                        inv.addItem(i);
                    }
                }
            }
        }
        inventories.put(p.getUniqueId(), inv);

        return inventories;
    }