Skip catalog_items with amount < 1

This commit is contained in:
O O 2022-12-24 10:20:50 +00:00
parent def03027b0
commit f4da5dc286

View File

@ -346,6 +346,9 @@ public class CatalogManager {
if (set.getString("item_ids").equals("0")) if (set.getString("item_ids").equals("0"))
continue; continue;
if (set.getInt("amount") < 1)
continue;
if (set.getString("catalog_name").contains("HABBO_CLUB_")) { if (set.getString("catalog_name").contains("HABBO_CLUB_")) {
this.clubItems.add(new CatalogItem(set)); this.clubItems.add(new CatalogItem(set));
continue; continue;