mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
For for sold out LTDs not being moved to the specified Sold Out page
This commit is contained in:
parent
475912bde7
commit
804237cc4e
@ -183,6 +183,10 @@ public class CatalogItem implements ISerialize, Runnable, Comparable<CatalogItem
|
|||||||
return this.orderNumber;
|
return this.orderNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setNeedsUpdate(boolean needsUpdate) {
|
||||||
|
this.needsUpdate = needsUpdate;
|
||||||
|
}
|
||||||
|
|
||||||
public synchronized void sellRare() {
|
public synchronized void sellRare() {
|
||||||
this.limitedSells++;
|
this.limitedSells++;
|
||||||
|
|
||||||
|
@ -674,9 +674,13 @@ public class CatalogManager {
|
|||||||
|
|
||||||
page = this.getCatalogPage(pageId);
|
page = this.getCatalogPage(pageId);
|
||||||
|
|
||||||
|
if (page == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
page.getCatalogItems().put(item.getId(), item);
|
page.getCatalogItems().put(item.getId(), item);
|
||||||
|
|
||||||
item.setPageId(pageId);
|
item.setPageId(pageId);
|
||||||
|
item.setNeedsUpdate(true);
|
||||||
|
|
||||||
item.run();
|
item.run();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user