Treasure2!

Treasure2!

6M Downloads

[1.19.2] StackOverflow - AbstractTreasureChestBlockEntity :: getCapability recursion problem

SiverDX opened this issue · 6 comments

commented

When placing down a treasure the game crashes

java.lang.StackOverflowError: null
	at net.minecraftforge.common.capabilities.ICapabilityProvider.getCapability(ICapabilityProvider.java:33) ~[forge-1.19.2-43.2.14-universal.jar%23810!/:?] {re:computing_frames,re:mixin,re:classloading}
	at mod.gottsch.forge.treasure2.core.block.entity.AbstractTreasureChestBlockEntity.getCapability(AbstractTreasureChestBlockEntity.java:231) ~[Treasure2-mc1.19.2-f43.2.0-3.1.0.jar%23774!/:mc1.19.2-f43.2.0-3.1.0] {re:classloading}

image

image

commented

Getting the same error

commented

When you place a treasure chest down, is it empty, or full, or locked? I'm having trouble replicating the issue and trying to figure out the exact situation.

commented

Ok thanks. I'm working on it.

commented

just took a chest from emi (mod like jei) cheat menu and placed it down

I have like over 300 mods to be fair but not sure which one could cause such behavior to appear

commented
commented

This should be fixed in v3.1.2