-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additions: - Added splash screen texts Deletions: none Other: - Fixed minecraft staying running for no reason Notes: - Time taken: ~1 hours https://discord.gg/2WsVCQDpwy
- Loading branch information
tudbut
committed
Jun 8, 2021
1 parent
f9e2621
commit 8831bdf
Showing
5 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
src/main/java/tudbut/mod/client/ttc/utils/ThreadManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
package tudbut.mod.client.ttc.utils; | ||
|
||
public class ThreadManager { // Self-explanatory | ||
public static void run(Runnable runnable) { | ||
new Thread(runnable).start(); | ||
public static Thread run(Runnable runnable) { | ||
Thread t = new Thread(runnable); | ||
t.start(); | ||
return t; | ||
} | ||
public static void run(String name, Runnable runnable) { | ||
new Thread(runnable, name).start(); | ||
public static Thread run(String name, Runnable runnable) { | ||
Thread t = new Thread(runnable, name); | ||
t.start(); | ||
return t; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
vC1.12.2a | ||
vC1.12.3a |