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
+1 -1
View File
@@ -61,7 +61,7 @@ public class ItemFactory {
(short) 1, (short) 1, true, false, ItemContainerType.INVENTORY, (byte) 0,
new ArrayList<>(), "");
try {
item = DbManager.ItemQueries.ADD_ITEM(item);
item = DbManager.ItemQueries.PERSIST(item);
worked = true;
} catch (Exception e) {
Logger.error(e);