@EventHandler
	public void onInventoryClose(InventoryCloseEvent event){
		//We don't care about players other than the owner
		if(!event.getPlayer().equals(owner))
			return;
		//We don't care about non-chest interactions
		if(!event.getInventory().getType().equals(InventoryType.CHEST))
			return;
		if(event.getInventory().getHolder()==null)
			return;
		if(!(event.getInventory().getHolder() instanceof Chest))
			return;
		if(!(event.getPlayer() instanceof Player))
			return;
		
		Chest chest		=	(Chest) event.getInventory().getHolder();
		Player player	=	(Player) event.getPlayer();
		
		if(!plugin.isStore(chest))
			return;
		if(!plugin.getStoreOwner(chest).equals(player))
			return;
		
		if(clear)
			unregister();
		
	}