Skip to content

Commit

Permalink
feat: add item enchant value to DevTools (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd authored Sep 30, 2024
1 parent 41b5914 commit 5aec5c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/endstone_devtools/vanilla_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ void dumpItemData(VanillaData &data, ::Level &level)
data.items[name] = {{"id", item->getId()},
{"attackDamage", item->getAttackDamage()},
{"armorValue", item->getArmorValue()},
{"enchantValue", item->getEnchantValue()},
{"toughnessValue", item->getToughnessValue()},
{"maxDamage", item->getMaxDamage()},
{"isDamageable", item->isDamageable()},
Expand Down

0 comments on commit 5aec5c9

Please sign in to comment.