Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MythicCraft
MythicCosmetics
Commits
6f0055f0
Commit
6f0055f0
authored
2 years ago
by
Ashijin
Browse files
Options
Download
Email Patches
Plain Diff
Fixed cosmetic removal not saving with MySQL
parent
cab9de95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
plugin/src/main/java/io/lumine/cosmetics/players/Profile.java
...in/src/main/java/io/lumine/cosmetics/players/Profile.java
+1
-1
No files found.
plugin/src/main/java/io/lumine/cosmetics/players/Profile.java
View file @
6f0055f0
...
...
@@ -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
().
get
Id
(),
null
);
sqlStorage
.
saveCosmeticEquipped
(
this
,
pCos
.
getCosmetic
().
get
Type
(),
null
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment