Fix fabric.mod.json, add run folder to gitignore

Signed-off-by: Quentin Legot <legotquentin@gmail.com>
This commit is contained in:
Quentin Legot 2023-02-13 15:25:08 +01:00
parent f5db55e96e
commit 0f902faa1b
3 changed files with 6 additions and 5 deletions

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"
} }
} }