Exiled-Team / CustomItems

16 stars 19 forks source link

A rock that is not a rock #57

Closed InsetJesux closed 3 years ago

InsetJesux commented 3 years ago

If you change the name of the rock it stops working, I think you should compare the id instead of the name.

joker-119 commented 3 years ago

Wrong again, this only shifts the problem from happening when you change the name to when you change the ID. The better solution would be to check if the item class type is rock.

joker-119 commented 3 years ago

I will do this myself tomorrow