diff --git a/pom.xml b/pom.xml
index f7d5f65..b965f2e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
net.limework.core
LimeworkSpigotCore
- 1.0.1-SNAPSHOT
+ 1.0.2-SNAPSHOT
jar
diff --git a/src/main/java/net/limework/core/managers/DataSourcesManager.java b/src/main/java/net/limework/core/managers/DataSourcesManager.java
index fa92ca8..6c86a65 100644
--- a/src/main/java/net/limework/core/managers/DataSourcesManager.java
+++ b/src/main/java/net/limework/core/managers/DataSourcesManager.java
@@ -13,7 +13,7 @@ public class DataSourcesManager {
public DataSourcesManager(LimeworkSpigotCore plugin) {
Configuration config = plugin .getConfig();
if (config.getBoolean("Mongodb.enabled")){
- mongoClient = MongoClients.create();
+ mongoClient = MongoClients.create(config.getString("Mongodb.url"));
}
}