Railcraft

Railcraft

34M Downloads

Crash when trying to open the rock crusher GUI

LuigiHutch opened this issue ยท 6 comments

commented

Description of the Bug
Crash when trying to open the rock crusher GUI

To Reproduce
Steps to reproduce the behavior:

  1. Build a Rock Crusher
  2. Insert some items into it and power it
  3. Try to open its GUI
  4. 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

commented

This is what happens when you have a deadline.

commented

@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

commented

Ah, yep

commented

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.

commented

@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.

commented

It does not.

0c59a8b