Create

Create

86M Downloads

[1.16.5-0.3.1c] Crash when ponder with mod 'Locks'

Ritzumi opened this issue · 3 comments

commented

Description
Locks is a mod that add locks in the game. These locks can spawn naturally or crafted by player. The issue occurred when trying to ponder a cerate's item with this mod installed. The game would crash and produce crash log below.

How to reproduce

  1. Enter a world
  2. Open Create creative tab
  3. Press [W] to ponder cogwheel
  4. See error

Version
Forge: 36.1.16
Lock: locks-3.0
Create: create-mc1.16.5_v0.3.1c

Attachments
The game does not directly produce crash log. There are some errors in the log, however.
This is tested by only Create and Locks enabled.
https://gist.github.com/Ritzumi/e26527470b3bc6faf9d24799fdeb061e
I also open an issue on locks, but I am not certain who is the culprit so I open an issue here for investigation from both sides.
MercurialPony/Locks#83

Thank you (´ω`)

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

It does seem my mod is causing the issue in TemplateMixin#placeInWorld by calling IServerWorld#getLevel(), which throws an error in the Create schematic world. I think it might be up to the devs to not throw an error in the implementation of their schematic world getLevel method. I will probably add some basic exception handling but its still kinda weird