3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

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

Dieser Commit ist enthalten in:
dordsor21 2020-04-16 17:22:22 +01:00
Ursprung 8369277e05
Commit 97d73889cc

Datei anzeigen

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