forked from Limework/RediSkript
Fixed mongodb url from config is wrong
This commit is contained in:
parent
4141bcdfb1
commit
2e80b57a53
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>net.limework.core</groupId>
|
||||
<artifactId>LimeworkSpigotCore</artifactId>
|
||||
<version>1.0.1-SNAPSHOT</version>
|
||||
<version>1.0.2-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user