This commit is contained in:
IronApollo 2020-04-16 20:27:47 -04:00
commit 8b97a11fa4
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class BlocksMaskParser extends InputParser<Mask> {
return null;
}
return new BlockMask(context.getExtent(), holders);
} catch (NoMatchException e) {
} catch (InputParseException e) {
return null;
}
}

View File

@ -162,7 +162,7 @@ public class TreeGenerator {
*/
@Nullable
public static TreeType lookup(String name) {
return lookup.get(name.toLowerCase(Locale.ROOT));
return lookup.get(name.replace("_", "").toLowerCase(Locale.ROOT));
}
}