mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-12 19:33:00 +00:00
Various cherry picks from world thread safety
- Ensure monitor draw lists are not reused after deleting them. - Make terminal methods synchronized, avoding NPEs and IOOBEs when resizing.
This commit is contained in:
@@ -29,6 +29,7 @@ public class ClientMonitor extends ClientTerminal
|
||||
if( renderDisplayList != -1 )
|
||||
{
|
||||
ComputerCraft.deleteDisplayLists( renderDisplayList, 3 );
|
||||
renderDisplayList = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user