items PERSIST work.
This commit is contained in:
1 parent
fa440e2885
commit
ec90ef6174
10 files changed
+19
-41
No files matched your search
@@ -149,7 +149,7 @@ public final class MobLoot extends Item {
|
||||
item.setNumOfItems(this.getNumOfItems());
|
||||
|
||||
try {
|
||||
item = DbManager.ItemQueries.ADD_ITEM(item);
|
||||
item = DbManager.ItemQueries.PERSIST(item);
|
||||
} catch (Exception e) {
|
||||
Logger.error("e");
|
||||
return null;
|
||||
@@ -187,7 +187,7 @@ public final class MobLoot extends Item {
|
||||
item.setNumOfItems(this.getNumOfItems());
|
||||
|
||||
try {
|
||||
item = DbManager.ItemQueries.ADD_ITEM(item);
|
||||
item = DbManager.ItemQueries.PERSIST(item);
|
||||
} catch (Exception e) {
|
||||
Logger.error(e);
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user