9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00
This commit is contained in:
Daniel Mills
2020-09-10 02:42:10 -04:00
parent ed6fe5631a
commit 200e576ba8
3 changed files with 37 additions and 70 deletions

View File

@@ -29,8 +29,9 @@ public class B
return getBlockData(bd);
}
public static Material getMaterial(String bd)
public static Material getMaterial(String bdx)
{
String bd = bdx.trim().toUpperCase();
return types.compute(bd, (k, v) ->
{
if(k != null && v != null)