mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-09-17 06:41:22 +00:00
Small changes to ComputerThread
- Fix the timeout error message displaying utter rot. - Don't resize the runner array. We don't handle this correctly, so we shouldn't handle it at all. - Increment virtualRuntime after a task has executed.
This commit is contained in:
@@ -106,7 +106,7 @@ public class Config
|
||||
computerThreads = config.get( CATEGORY_GENERAL, "computer_threads", ComputerCraft.computer_threads );
|
||||
computerThreads
|
||||
.setMinValue( 1 )
|
||||
.setRequiresWorldRestart( true )
|
||||
.setRequiresMcRestart( true )
|
||||
.setComment( "Set the number of threads computers can run on. A higher number means more computers can run at once, but may induce lag.\n" +
|
||||
"Please note that some mods may not work with a thread count higher than 1. Use with caution." );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user