Fix formatting for log message

This commit is contained in:
GeorgH93 2023-06-28 01:00:26 +02:00
parent 795cc63ca6
commit 91232339df
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -238,7 +238,7 @@ public void getBackpack(final OfflinePlayer player, final Callback<at.pcgamingfr
public void unloadBackpack(Backpack backpack)
{
plugin.getLogger().log(Level.INFO, "Unloading backpack of {} ({})", new Object[] {backpack.getOwner().getName(), backpack.getOwner().getUniqueId()});
plugin.getLogger().log(Level.INFO, "Unloading backpack of {0} ({1})", new Object[] {backpack.getOwner().getName(), backpack.getOwner().getUniqueId()});
if (forceSaveOnUnload)
{
backpack.forceSave();