mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
fix biome delegate loading
This commit is contained in:
1 parent
ac9ab133a9
commit
81900d80b5
1 file changed
+1
-1
+1
-1
@@ -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