forked from Limework/RediSkript
Compare commits
1 Commits
1.0.1-SNAP
...
1.0.2-SNAP
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e80b57a53 |
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.limework.core</groupId>
|
<groupId>net.limework.core</groupId>
|
||||||
<artifactId>LimeworkSpigotCore</artifactId>
|
<artifactId>LimeworkSpigotCore</artifactId>
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ public class DataSourcesManager {
|
|||||||
public DataSourcesManager(LimeworkSpigotCore plugin) {
|
public DataSourcesManager(LimeworkSpigotCore plugin) {
|
||||||
Configuration config = plugin .getConfig();
|
Configuration config = plugin .getConfig();
|
||||||
if (config.getBoolean("Mongodb.enabled")){
|
if (config.getBoolean("Mongodb.enabled")){
|
||||||
mongoClient = MongoClients.create();
|
mongoClient = MongoClients.create(config.getString("Mongodb.url"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user