mould helper: moved scrolling to tick end. mould helper bugging out when selecting best moul because race condition between game tick widget update and client thread scroll script.
This commit is contained in:
@@ -114,7 +114,7 @@ public class MouldHelper
|
||||
int height = scrollList.getHeight();
|
||||
int scrollMax = scrollList.getScrollHeight();
|
||||
Widget finalBestWidget = bestWidget;
|
||||
clientThread.invokeLater(() ->
|
||||
clientThread.invokeAtTickEnd(() ->
|
||||
{
|
||||
if (finalBestWidget != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user