mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +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
@@ -130,7 +130,7 @@ public class FluidHandlerTest
|
||||
private static List<ItemStack> getAllItems()
|
||||
{
|
||||
NonNullList<ItemStack> list = NonNullList.create();
|
||||
for (Item item : ForgeRegistries.ITEMS.getValues())
|
||||
for (Item item : ForgeRegistries.ITEMS.getValuesCollection())
|
||||
{
|
||||
for (CreativeTabs tab : item.getCreativeTabs())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user