From e7f399010f2bfdb15fa311e7a0e25829093594a3 Mon Sep 17 00:00:00 2001
From: len <40720638+destro174@users.noreply.github.com>
Date: Mon, 10 May 2021 10:57:26 +0200
Subject: [PATCH] Pom changes
---
.../com/alttd/chat/ChatImplementation.java | 4 +++
pom.xml | 27 ++++++++++++++-
velocity/pom.xml | 33 ++++---------------
3 files changed, 37 insertions(+), 27 deletions(-)
diff --git a/api/src/main/java/com/alttd/chat/ChatImplementation.java b/api/src/main/java/com/alttd/chat/ChatImplementation.java
index 249b60a..fbadcb3 100644
--- a/api/src/main/java/com/alttd/chat/ChatImplementation.java
+++ b/api/src/main/java/com/alttd/chat/ChatImplementation.java
@@ -1,9 +1,12 @@
package com.alttd.chat;
+import com.alttd.chat.config.Config;
import com.alttd.chat.database.DatabaseConnection;
import net.luckperms.api.LuckPerms;
import net.luckperms.api.LuckPermsProvider;
+import java.io.File;
+
public class ChatImplementation implements ChatAPI{
private ChatAPI instance;
@@ -13,6 +16,7 @@ public class ChatImplementation implements ChatAPI{
ChatImplementation() {
instance = this;
+ Config.init(new File(System.getProperty("user.home")));
// init database
// init depends//or set them the first time they are called?
}
diff --git a/pom.xml b/pom.xml
index 5030d11..a66456c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,6 @@
11
-
@@ -55,4 +54,30 @@
galaxy
velocity
+
+
+
+ velocitypowered-repo
+ https://repo.velocitypowered.com/releases/
+
+
+ minecraft-libraries
+ https://libraries.minecraft.net/
+
+
+ jcenter
+ jcenter-bintray
+ https://jcenter.bintray.com
+
+
+ sonatype-oss-snapshots
+ https://oss.sonatype.org/content/repositories/snapshots/
+
+
+ sponge-repo
+ Sponge Maven Repository
+ https://repo.spongepowered.org/maven
+
+
+
diff --git a/velocity/pom.xml b/velocity/pom.xml
index fcda1c7..2789fd5 100644
--- a/velocity/pom.xml
+++ b/velocity/pom.xml
@@ -71,36 +71,11 @@
-
-
- velocitypowered-repo
- https://repo.velocitypowered.com/releases/
-
-
- minecraft-libraries
- https://libraries.minecraft.net/
-
-
- jcenter
- jcenter-bintray
- https://jcenter.bintray.com
-
-
- sonatype-oss-snapshots
- https://oss.sonatype.org/content/repositories/snapshots/
-
-
- sponge-repo
- Sponge Maven Repository
- https://repo.spongepowered.org/maven
-
-
-
com.velocitypowered
velocity-api
- 1.1.4
+ 1.1.5
provided
@@ -120,6 +95,12 @@
${project.version}
compile
+
+ com.google.inject
+ guice
+ 4.1.0
+ provided
+