Commit 6f0055f0 authored by Ashijin's avatar Ashijin
Browse files

Fixed cosmetic removal not saving with MySQL

parent cab9de95
......@@ -128,7 +128,7 @@ public class Profile implements CosmeticProfile,io.lumine.utils.storage.players.
pCos.getCosmetic().getManager().unequip(this);
if(manager.getAdapter() instanceof SqlStorage sqlStorage) {
sqlStorage.saveCosmeticEquipped(this, pCos.getCosmetic().getId(), null);
sqlStorage.saveCosmeticEquipped(this, pCos.getCosmetic().getType(), null);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment