in Command Arguments, there is a material() function to get material
it would be better to change all letter to uppercase when checking, due to all materials in Material enum is uppercase, and I think forName() method is case sensitive.
for example:
"/mycommand air" doesn't work, but "/mycommand AIR" works
in Command Arguments, there is a material() function to get material
it would be better to change all letter to uppercase when checking, due to all materials in Material enum is uppercase, and I think forName() method is case sensitive.
for example: "/mycommand air" doesn't work, but "/mycommand AIR" works