getFromID -> getByID

This commit is contained in:
dfsek
2021-12-25 01:10:49 -07:00
parent dc688e49ce
commit 46e7bd917a
10 changed files with 20 additions and 20 deletions
@@ -24,7 +24,7 @@ public class BiomeDelegateLoader implements TypeLoader<BiomeDelegate> {
public BiomeDelegate load(@NotNull AnnotatedType t, @NotNull Object c, @NotNull ConfigLoader loader) throws LoadException {
if(c.equals("SELF")) return BiomeDelegate.self();
return biomeRegistry
.getFromID((String) c)
.getByID((String) c)
.map(BiomeDelegate::from)
.orElseGet(() -> BiomeDelegate.ephemeral((String) c));
}