Topic category: Help with modding (Java Edition)
Hello, I made a procedure so that each time someone breaks a block they check if the enchantment is on the item. I did it with this code:
Now the concern is that I have this little error that I don't know how to fix:
I hope you will be able to help me and thank you in advance for the reply.
(Ps: I am using version 2020.5 in 1.15.2)