Why can't i get property nbt.value.value from a item object? #2312
Unanswered
Daniel-Glz
asked this question in
Q&A
Replies: 1 comment
-
.Potion.value not just .value |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to get the type of a splash potion through nbt property of a item, but i can't get it. When i try to get it returns me undefined, Why is happening this?
My code:
When i run my code, potion returns me this object
{ Potion: { type: 'string', value: 'minecraft:strong_healing' } }
and i try to get its value property but it returns me undefined
Beta Was this translation helpful? Give feedback.
All reactions