Compare commits

...

1 Commits

Author SHA1 Message Date
ham1255
2e80b57a53 Fixed mongodb url from config is wrong 2020-07-08 12:37:10 +04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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"));
}
}