Crossroads-Development / Essentials

Essentials is a mod for Minecraft. It adds a few simple utility-style blocks and items, mostly meant to enhance vanilla-style automation.
MIT License
11 stars 10 forks source link

NullPointerException after breaking a reflector /prism in between two resonant extractors #82

Closed StormyData closed 2 years ago

StormyData commented 2 years ago

Describe the bug Bug appears when breaking a prism in between two resonant extractors facing the prism/ reflector while lever is on it, causing the game to repeatedly crash when loading the world and bricking the save

To Reproduce [Optional] Steps to reproduce the behavior:

  1. place resonant prism / reflector (probably other things work too)
  2. place 2 resonant extractors facing into the prism directly above and below the prism
  3. place a lever on the prism and turn it on
  4. place valid items into both extractors (i.e. salt)
  5. no beam should be emitted now
  6. break the prism (the lever pops off)
  7. game crashes

Expected behavior [Optional] Game doesn't crash

Screenshots [Optional] Setup just before breaking the reflector / prism, both extractors contain salt 2022-08-15_17 35 24

Additional context [Optional] crash-2022-08-15_17.23.08-server.txt

Edit: as it happens the lever doesn't have to be on, also happens with a ladder (probably any block that need support would work too)

StormyData commented 2 years ago

Wrong repo