Avoid copying Forge Registry keys, values, and entries (#4545)

This commit is contained in:
mezz authored and LexManos committed 2018-01-18 12:46:05 -08:00
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)
{