Crash when trying to open the rock crusher GUI
LuigiHutch opened this issue ยท 6 comments
Description of the Bug
Crash when trying to open the rock crusher GUI
To Reproduce
Steps to reproduce the behavior:
- Build a Rock Crusher
- Insert some items into it and power it
- Try to open its GUI
- Crash
Expected behavior
The GUI to open and it not to crash
Screenshots & Video
N/A
Environment
- railcraft-12.0.0-beta-2.jar
- forge-1.12.2-14.23.5.2796.jar
Additional context
https://gist.github.com/LuigiHutch/32955d8ecbf3b24f0edae8559d4f29e3
@CovertJaguar in your refactor, you should have kept the scale field instead of evaluating it. the scale was originally calculated on the server and sent to the client, but now you depend on the recipe which is only exist on the server side
Actually... The problem is that it used to be based on a constant and now needs to be calculated because I added a time field to the recipes.
@CovertJaguar Does this still happen after moving to the new logic system? It no longer happens to me even before the move to logic, though the progress bar isn't being synchronized.
It does not.