mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-06 19:18:07 +01:00
Fix compile error
This commit is contained in:
parent
2215dea369
commit
0d880fe4f7
@ -137,7 +137,7 @@ public void saveBackpack(Backpack backpack)
|
||||
@Override
|
||||
protected void loadBackpack(final OfflinePlayer player, final Callback<Backpack> 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user