Merge branch 'TheOleg-ms4/dev-patch-21605' into 'ms4/dev'

Skip catalog_items with amount < 1

See merge request morningstar/Arcturus-Community!8
This commit is contained in:
brenoepic 2022-12-24 14:00:09 +00:00
commit df67a21e16

View File

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