Quark

Quark

143M Downloads

[1.16.4] Crash when clicking obsidian with a Create deployer block

ChloeDawn opened this issue ยท 1 comments

commented

When placing a Create deployer block by obsidian and attempting to click it, the game crashes to desktop.
I was actually trying to automate Flux Networks' flux dust crafting, not matrix enchanting, I don't expect automation support

Mod version: r2.4-294
Forge version: 35.1.36

Caused by: java.lang.NullPointerException
	at vazkii.quark.addons.oddities.module.MatrixEnchantingModule.onRightClick(MatrixEnchantingModule.java:169) ~[quark:r2.4-294]
	at net.minecraftforge.eventbus.ASMEventHandler_1171_MatrixEnchantingModule_onRightClick_RightClickBlock.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-3.0.5-service.jar:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297) ~[eventbus-3.0.5-service.jar:?]
	at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:796) ~[forge:?]
	at com.simibubi.create.content.contraptions.components.deployer.DeployerHandler.activateInner(DeployerHandler.java:243) ~[create:mc1.16.3_v0.3c]
	at com.simibubi.create.content.contraptions.components.deployer.DeployerHandler.activate(DeployerHandler.java:119) ~[create:mc1.16.3_v0.3c]
	at com.simibubi.create.content.contraptions.components.deployer.DeployerTileEntity.activate(DeployerTileEntity.java:261) ~[create:mc1.16.3_v0.3c]
	at com.simibubi.create.content.contraptions.components.deployer.DeployerTileEntity.func_73660_a(DeployerTileEntity.java:189) ~[create:mc1.16.3_v0.3c]
	at net.minecraft.world.World.func_217391_K(World.java:491) ~[?:?]
	at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:371) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:850) ~[?:?]
	... 5 more

https://github.com/Vazkii/Quark/blob/7265469c0e854605b9bae0f3a62ee0ff3b49fda5/src/main/java/vazkii/quark/addons/oddities/module/MatrixEnchantingModule.java#L169