Skip to content

Commit

Permalink
fix: suppress message about custom model data component type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Jan 3, 2025
1 parent c4dd43b commit 07a3a86
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ private CustomItem from_old_item(final ItemStack item_stack) {

// If lookups fail, we return null and nothing will be done.
String new_item_key = null;
if (meta.getCustomModelDataComponent().getFloats().isEmpty()) {
return null;
}
switch (meta.getCustomModelData()) {
case 7758190:
new_item_key = "vane_trifles:wooden_sickle";
Expand Down

0 comments on commit 07a3a86

Please sign in to comment.