itemCategories: Default: "other"

This commit is contained in:
Nut.andor
2025-09-13 18:23:10 +02:00
parent 84f30525bd
commit 6a264d6a8d

View File

@@ -53,7 +53,7 @@ public final class ItemTypeParser extends JsonCollectionParserFor<ItemType> {
, ResourceParserUtils.parseImageID(tileLoader, o.getString(JsonFieldNames.ItemType.iconID))
, itemTypeName
, description
, itemCategories.getItemCategory(o.getString(JsonFieldNames.ItemType.category))
, itemCategories.getItemCategory(o.optString(JsonFieldNames.ItemType.category, "other"))
, ItemType.DisplayType.fromString(o.optString(JsonFieldNames.ItemType.displaytype, null), ItemType.DisplayType.ordinary)
, hasManualPrice
, baseMarketCost