From 0f902faa1b9f8b3cf575c386dfdceb165c2cbe9f Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 13 Feb 2023 15:25:08 +0100 Subject: [PATCH] Fix fabric.mod.json, add run folder to gitignore Signed-off-by: Quentin Legot --- .gitignore | 4 +++- Tasks/src/main/java/fr/altarik/toolbox/task/Task.java | 4 ++-- Tasks/src/main/resources/fabric.mod.json | 3 +-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fd00d92..5f60383 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ build/ !**/src/main/**/build/ !**/src/test/**/build/ +Tasks/run + ### IntelliJ IDEA ### .idea *.iws @@ -36,4 +38,4 @@ bin/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store diff --git a/Tasks/src/main/java/fr/altarik/toolbox/task/Task.java b/Tasks/src/main/java/fr/altarik/toolbox/task/Task.java index c9b8129..f2d163a 100644 --- a/Tasks/src/main/java/fr/altarik/toolbox/task/Task.java +++ b/Tasks/src/main/java/fr/altarik/toolbox/task/Task.java @@ -17,7 +17,7 @@ public class Task implements ModInitializer { @Override public void onInitialize() { - /*try { + /* try { asyncWorkers.addTask(new AltarikRunnable() { @Override public void run() { @@ -44,7 +44,7 @@ public class Task implements ModInitializer { }, 60, 80); } catch (InterruptedException e) { throw new RuntimeException(e); - }*/ + } */ } public TaskI getAsyncWorkers() { diff --git a/Tasks/src/main/resources/fabric.mod.json b/Tasks/src/main/resources/fabric.mod.json index 8f15e03..8921daf 100644 --- a/Tasks/src/main/resources/fabric.mod.json +++ b/Tasks/src/main/resources/fabric.mod.json @@ -27,8 +27,7 @@ "depends": { "fabricloader": ">=0.14.12", "fabric": "*", - "minecraft": "1.19.3", - "npcs": "2.0.1-SNAPSHOT" + "minecraft": "1.19.3" } } \ No newline at end of file