Archived
0

Updated wording on loading warn messages

This commit is contained in:
Minenash
2018-12-16 18:01:21 -05:00
parent 2e6a514b5c
commit 38e42dfaba

View File

@@ -53,7 +53,7 @@ public class Check implements Module, Listener {
} }
if (config == null || !config.containsKey("database") || !config.containsKey("table")) { if (config == null || !config.containsKey("database") || !config.containsKey("table")) {
getLogger().warn("Could not load the Check config file, ip info for offline users and website data is unavaliable!"); getLogger().warn("Could not load the Check config file, ip info for offline users and website data will be unavaliable!");
noTableReason = "Could not load the config file"; noTableReason = "Could not load the config file";
config.put("database", "redstoner"); config.put("database", "redstoner");
@@ -74,7 +74,7 @@ public class Check implements Module, Listener {
MysqlDatabase database = MysqlHandler.INSTANCE.getDatabase(config.get("database") + "?autoReconnect=true"); MysqlDatabase database = MysqlHandler.INSTANCE.getDatabase(config.get("database") + "?autoReconnect=true");
table = database.getTable(config.get("table")); table = database.getTable(config.get("table"));
} catch (Exception e) { } catch (Exception e) {
getLogger().warn("Could not use the Check config file, ip info for offline users and website data is unavaliable!"); getLogger().warn("Could not use the Check config file, ip info for offline users and website data will be unavaliable!");
noTableReason = "Could not use the config file"; noTableReason = "Could not use the config file";
} }