diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Files.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Files.java index f7f7e43..4a6e6fd 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Files.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Files.java @@ -137,7 +137,7 @@ public void saveBackpack(Backpack backpack) @Override protected void loadBackpack(final OfflinePlayer player, final Callback callback) { //TODO this needs to be done async! - File save = new File(saveFolder, getFileName(player)); + File save = new File(saveFolder, getFileName(player.getUniqueId())); ItemStack[] itemStacks = readFile(itsSerializer, save, plugin.getLogger()); if(itemStacks != null) {