mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Parse materials to uppercase for ItemStacks
This commit is contained in:
parent
d6b1b19c8e
commit
2f109de685
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue