items PERSIST work.

This commit is contained in:
2024-03-02 09:55:30 -05:00
parent fa440e2885
commit ec90ef6174
10 changed files with 19 additions and 41 deletions
+2 -2
View File
@@ -1198,7 +1198,7 @@ public class PlayerCharacter extends AbstractCharacter {
Item hair;
try {
hair = DbManager.ItemQueries.ADD_ITEM(tempHair);
hair = DbManager.ItemQueries.PERSIST(tempHair);
} catch (Exception e) {
hair = null;
}
@@ -1218,7 +1218,7 @@ public class PlayerCharacter extends AbstractCharacter {
(byte) MBServerStatics.SLOT_BEARDSTYLE, new ArrayList<>(), "");
Item beard;
try {
beard = DbManager.ItemQueries.ADD_ITEM(tempBeard);
beard = DbManager.ItemQueries.PERSIST(tempBeard);
} catch (Exception e) {
beard = null;
}