Remove _ from tree type as easy fix for actually typing the correct tree type

This commit is contained in:
dordsor21 2020-04-16 17:22:22 +01:00
parent 8369277e05
commit 97d73889cc

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));
}
}