GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Large miner crashes the game when it contains no output bus

mikerooni opened this issue ยท 0 comments

commented

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.4.4

Minecraft Version

1.20.1

Recipe Viewer Installed

REI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

Most likely not relevant

Expected Behavior

The large miner shouldn't start (or even form) without an output bus

Actual Behavior

Large miner starts working and immediately crashes the game (see crashlog below)

Steps to Reproduce

  • build a large miner without an output bus
  • insert drilling fluid into the input hatch

Additional Information

java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "com.google.common.collect.Table.get(Object, Object)" is null
	at com.gregtechceu.gtceu.common.machine.trait.miner.MinerLogic.getCachedItemTransfer(MinerLogic.java:388)
	at com.gregtechceu.gtceu.common.machine.trait.miner.MinerLogic.mineAndInsertItems(MinerLogic.java:404)
	at com.gregtechceu.gtceu.common.machine.trait.miner.MinerLogic.serverTick(MinerLogic.java:245)
	at com.gregtechceu.gtceu.api.machine.TickableSubscription.run(TickableSubscription.java:23)
	at com.gregtechceu.gtceu.api.machine.MetaMachine.executeTick(MetaMachine.java:292)
	at com.gregtechceu.gtceu.api.machine.MetaMachine.serverTick(MetaMachine.java:264)
	at com.gregtechceu.gtceu.api.block.IMachineBlock.lambda$getTicker$0(IMachineBlock.java:66)
	at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:689)