mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
Add another check to not remove items
This commit is contained in:
@@ -57,6 +57,7 @@ public class ShopHandler {
|
|||||||
public void process() {
|
public void process() {
|
||||||
boolean DidUpdate = false;
|
boolean DidUpdate = false;
|
||||||
for (int i = 1; i <= TotalShops; i++) {
|
for (int i = 1; i <= TotalShops; i++) {
|
||||||
|
if (ShopBModifier[i] == 0 || ShopSModifier[i] == 0) continue;
|
||||||
for (int j = 0; j < MaxShopItems; j++) {
|
for (int j = 0; j < MaxShopItems; j++) {
|
||||||
if (ShopItems[i][j] > 0) {
|
if (ShopItems[i][j] > 0) {
|
||||||
if (ShopItemsDelay[i][j] >= MaxShowDelay) {
|
if (ShopItemsDelay[i][j] >= MaxShowDelay) {
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user