Fix NPE with furnace minecart with NBT data

This commit is contained in:
Camotoy 2022-09-30 21:21:37 -04:00
parent c31bd456f6
commit cb864b3c98

View file

@ -567,6 +567,7 @@ public class ItemRegistryPopulator {
.bedrockData(0) .bedrockData(0)
.bedrockBlockId(-1) .bedrockBlockId(-1)
.stackSize(1) .stackSize(1)
.customItemOptions(Object2IntMaps.emptyMap()) // TODO check for custom items with furnace minecart
.build()); .build());
creativeItems.add(ItemData.builder() creativeItems.add(ItemData.builder()