Crash when placing controller using a CC Tweaked turtle
budgej opened this issue ยท 5 comments
Issue description:
Placing the controller using a CC Tweaked turtle results in an illegal state exception.
Steps to reproduce:
- Place turtle and program to turtle.place() a controller
- Crash
Version (make sure you are on the latest version before reporting):
- Minecraft: 1.15.2
- Forge: 31.2.29
- Refined Storage: 1.8.3 (I am not able to launch 1.8.7 for a separate crash...)
Does this issue occur on a server? Yes. Clients are disconnected instantly, then the server hangs and never closes.
If a (crash)log is relevant for this issue, link it here:
See #3424
Hello. This bug has been fixed in v1.12.4 of Refined Storage. If this issue persists anyway, please feel free to create a new bug.
This bug has also been fixed in v1.11.7 of Refined Storage for Minecraft 1.19.2. If this issue persists anyway, please feel free to create a new bug.
Issue is as follows.
When a controller gets placed during a tick the Network is not created soon enough for it to be available in ControllerBlock#onBlockPlacedBy
. That however gets the networks Energy capability which evaluates the LazyOptional
in ControllerTile
which in turn tries to get the network.
Entirely unsure why this doesn't blow up if a player places the block.