items PERSIST work.
This commit is contained in:
1 parent
fa440e2885
commit
ec90ef6174
10 files changed
+19
-41
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user