mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-07 19:28:11 +01:00
Fix compile error
This commit is contained in:
parent
2215dea369
commit
0d880fe4f7
@ -137,7 +137,7 @@ public void saveBackpack(Backpack backpack)
|
|||||||
@Override
|
@Override
|
||||||
protected void loadBackpack(final OfflinePlayer player, final Callback<Backpack> callback)
|
protected void loadBackpack(final OfflinePlayer player, final Callback<Backpack> callback)
|
||||||
{ //TODO this needs to be done async!
|
{ //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());
|
ItemStack[] itemStacks = readFile(itsSerializer, save, plugin.getLogger());
|
||||||
if(itemStacks != null)
|
if(itemStacks != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user