Add another check to not remove items

This commit is contained in:
RedSparr0w
2019-11-23 16:25:48 +13:00
parent ded7cd28b8
commit 28b7163c6d
2 changed files with 1 additions and 0 deletions
@@ -57,6 +57,7 @@ public class ShopHandler {
public void process() {
boolean DidUpdate = false;
for (int i = 1; i <= TotalShops; i++) {
if (ShopBModifier[i] == 0 || ShopSModifier[i] == 0) continue;
for (int j = 0; j < MaxShopItems; j++) {
if (ShopItems[i][j] > 0) {
if (ShopItemsDelay[i][j] >= MaxShowDelay) {