mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Add an EnumHelper hook and fixed an issue
This commit is contained in:
1 parent
20bf76464a
commit
e2ee54a27d
3 files changed
+76
-3
No files matched your search
@@ -175,7 +175,7 @@ public class BiomeManager
|
||||
if (t.name().equals(name)) return t;
|
||||
}
|
||||
|
||||
BiomeType ret = EnumHelper.addEnum(BiomeType.class, name, BiomeType.class);
|
||||
BiomeType ret = EnumHelper.addEnum(BiomeType.class, name, new Class[0], new Object[0]);
|
||||
|
||||
if (ret.ordinal() >= biomes.length)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user