fabric-synctask #1

Merged
quentinlegot merged 10 commits from fabric-synctask into master 2023-02-13 15:26:38 +01:00
3 changed files with 6 additions and 5 deletions
Showing only changes of commit 0f902faa1b - Show all commits

4
.gitignore vendored
View File

@ -4,6 +4,8 @@ build/
!**/src/main/**/build/ !**/src/main/**/build/
!**/src/test/**/build/ !**/src/test/**/build/
Tasks/run
### IntelliJ IDEA ### ### IntelliJ IDEA ###
.idea .idea
*.iws *.iws
@ -36,4 +38,4 @@ bin/
.vscode/ .vscode/
### Mac OS ### ### Mac OS ###
.DS_Store .DS_Store

View File

@ -17,7 +17,7 @@ public class Task implements ModInitializer {
@Override @Override
public void onInitialize() { public void onInitialize() {
/*try { /* try {
asyncWorkers.addTask(new AltarikRunnable() { asyncWorkers.addTask(new AltarikRunnable() {
@Override @Override
public void run() { public void run() {
@ -44,7 +44,7 @@ public class Task implements ModInitializer {
}, 60, 80); }, 60, 80);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
}*/ } */
} }
public TaskI getAsyncWorkers() { public TaskI getAsyncWorkers() {

View File

@ -27,8 +27,7 @@
"depends": { "depends": {
"fabricloader": ">=0.14.12", "fabricloader": ">=0.14.12",
"fabric": "*", "fabric": "*",
"minecraft": "1.19.3", "minecraft": "1.19.3"
"npcs": "2.0.1-SNAPSHOT"
} }
} }