Parse materials to uppercase for ItemStacks
This commit is contained in:
parent
d6b1b19c8e
commit
2f109de685
@ -41,7 +41,7 @@ public class ParamInfoItemStack extends ParamInfoEnum {
|
||||
return null;
|
||||
}
|
||||
|
||||
Material material = Material.getMaterial(split[0]);
|
||||
Material material = Material.getMaterial(split[0].toUpperCase());
|
||||
|
||||
if (material == null) {
|
||||
throw new IllegalArgumentException();
|
||||
|
Loading…
Reference in New Issue
Block a user