mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Avoid copying Forge Registry keys, values, and entries (#4545)
This commit is contained in:
1 parent
6962678804
commit
bc3bbe3d84
6 files changed
+30
-12
No files matched your search
@@ -494,7 +494,7 @@ public class ForgeModContainer extends DummyModContainer implements WorldAccessC
|
||||
|
||||
private static void registerAllBiomesAndGenerateEvents()
|
||||
{
|
||||
for (Biome biome : ForgeRegistries.BIOMES.getValues())
|
||||
for (Biome biome : ForgeRegistries.BIOMES.getValuesCollection())
|
||||
{
|
||||
if (biome.decorator instanceof DeferredBiomeDecorator)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user