@EventHandler
    public void onPlayerInteract(PlayerInteractEvent e) {
        Player p = e.getPlayer();
        ItemStack item = p.getItemInHand();
        item.setItemMeta(item.getItemMeta());
        Block selectedItem = e.getClickedBlock();
        if (selectedItem != null) {
            ButtonAccess b = new ButtonAccess(p, e.getAction(), wand, transactions, packages, inventories, packageMaker, pickup, item, selectedItem);
            b.onPlayerPress();
            packages = b.getPackages();
            packageMaker = b.getPackageMakers();
            pickup = b.getPickups();
            transactions = b.getTransactions();
            inventories = b.getInventories();
            if (ButtonAccess.isChestSpecial(selectedItem.getLocation(), packageMaker) && e.getAction() == Action.RIGHT_CLICK_BLOCK) {
                e.setCancelled(true);
                if (p.hasPermission("chestdelivery.send")) {
                    p.openInventory(inventories.get(p.getUniqueId()));
                }
            }
        }
    }