Refined Storage

Refined Storage

107M Downloads

Crash when placing controller using a CC Tweaked turtle

budgej opened this issue ยท 5 comments

commented

Issue description:

Placing the controller using a CC Tweaked turtle results in an illegal state exception.

Steps to reproduce:

  1. Place turtle and program to turtle.place() a controller
  2. 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:

https://pastebin.com/yBkTTYrN

commented

See #3424

commented

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.

commented

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.

commented

Hello, this bug is now also fixed for Minecraft 1.18.2 in v1.10.6.

commented

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.