public static Configuration getConfigurationFrom(final ItemStack itemStack) {
        AttributeStorage storage = AttributeStorage.newTarget(itemStack, BackpacksPlugin.BACKPACKS_UUID);
        YamlConfiguration configuration = new YamlConfiguration();

        try {
            String data = storage.getData("");
            if (data != null) {
                configuration.loadFromString(data);
                return configuration;
            } else {
                // throw new IllegalArgumentException("ItemStack: " + itemStack + " has no backpack-data!");
                return new MemoryConfiguration();
            }
        } catch (InvalidConfigurationException e) {
            e.printStackTrace();
            return new MemoryConfiguration();
        }
    }