mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 09:16:34 +00:00
fix biome delegate loading
This commit is contained in:
@@ -21,7 +21,7 @@ public class BiomeDelegateLoader implements TypeLoader<BiomeDelegate> {
|
||||
|
||||
@Override
|
||||
public BiomeDelegate load(@NotNull AnnotatedType t, @NotNull Object c, @NotNull ConfigLoader loader) throws LoadException {
|
||||
if(c == "SELF") return BiomeDelegate.self();
|
||||
if(c.equals("SELF")) return BiomeDelegate.self();
|
||||
return biomeRegistry
|
||||
.get((String) c)
|
||||
.map(BiomeDelegate::from)
|
||||
|
||||
Reference in New Issue
Block a user