Skip to content

Commit 2150ee6

Browse files
committed
Don't show thread count in sync mode
1 parent 464042b commit 2150ee6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spigot/src/main/java/me/wolfyscript/customcrafting/handlers/LocalStorageLoader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ public void load() {
152152
*/
153153
api.getConsole().info("- - - - [Local Storage] - - - -");
154154
int processors = Math.min(Runtime.getRuntime().availableProcessors(), dataSettings.maxProcessors());
155-
customCrafting.getLogger().info(PREFIX + "Using " + processors + " threads");
156155
if (dataSettings.sync()) {
157156
customCrafting.getLogger().info(PREFIX + "Loading data synchronously");
157+
} else {
158+
customCrafting.getLogger().info(PREFIX + "Using " + processors + " threads");
158159
}
159160
executor = Executors.newWorkStealingPool(processors);
160161
api.getConsole().info(PREFIX + "Looking through data folder...");

0 commit comments

Comments
 (0)