Refinery Controller GUI ignores Refinery Outputs until quitting/reloading game
Opened this issue ยท 2 comments
Minecraft Version
1.16.5
Forge Version
36.1.6
Mod Version
pneumaticcraft-repressurized-1.16.5-2.13.0-199
Describe your problem, including steps to reproduce it
The Refinery Controller block claims that I have an invalid number of Refinery Outputs and appears to be nonfunctional, despite 4 Outputs stacked on it. Quitting and loading the game fixes this problem.
- Create a new game.
- Place a Refinery Controller.
- View the Refinery Controller's GUI. (This step matters!)
- Place 4 Refinery Outputs on the Controller. Add lagging, heat, and crude oil.
- View the Refinery Controller's GUI.
- Quit the game, load the game.
- View the Refinery Controller's GUI.
Refinery structure (back and top have lagging):
GUI after placing all parts:
GUI after quitting and reloading (the "problems" tab is complaining about the temperature since there was an exposed surface):
Any other comments?
- The crude oil is being consumed despite the GUI's complaints.
- With JEI installed, the recipes tooltip on the GUI correctly lists the number of Controllers.
Sounds like the client is wrongly caching the fact that the outputs are missing. The server is processing the oil correctly?
Update: I think I see the problem (it is a caching issue - I use the same code to find the controller's neighbours on client & server, and the cached results are properly cleaned on the server when outputs are placed, but not on the client). Should be an easy fix.