Skip to content

Commit 2bdb1fa

Browse files
committed
Improve item_model definition
1 parent 87d6d1e commit 2bdb1fa

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

lib/api/model/item_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class ItemModel with _$ItemModel, DataModel {
2121
String? displayName,
2222
@Default(ItemGroup.misc) ItemGroup group,
2323
String? material,
24-
int? customModelId,
24+
int? customModelData,
2525
@Default(1) int? amount,
2626
Map<String, int>? enchantments,
2727
Set<String>? flags,

lib/api/model/item_model.freezed.dart

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api/model/item_model.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)