0

Made modules use lowercase json files

This commit is contained in:
Pepich 2017-02-02 20:30:37 +01:00
parent cce1fdaf4a
commit f59d7e924c
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import com.redstoner.misc.mysql.elements.MysqlDatabase;
import com.redstoner.misc.mysql.elements.MysqlTable;
import com.redstoner.modules.Module;
@Version(major = 1, minor = 0, revision = 1, compatible = 1)
@Version(major = 1, minor = 0, revision = 2, compatible = 1)
public class Check implements Module, Listener
{
private boolean enabled = false;
@ -40,7 +40,7 @@ public class Check implements Module, Listener
@Override
public void onEnable()
{
Map<Serializable, Serializable> config = JSONManager.getConfiguration("Check.json");
Map<Serializable, Serializable> config = JSONManager.getConfiguration("check.json");
if (config == null || !config.containsKey("database") || !config.containsKey("table"))
{
Utils.sendErrorMessage(Bukkit.getConsoleSender(), null, "Could not load the Check config file, disabling!");

View File

@ -32,7 +32,7 @@ import com.redstoner.misc.mysql.elements.MysqlTable;
import com.redstoner.misc.mysql.types.text.VarChar;
import com.redstoner.modules.Module;
@Version(major = 1, minor = 0, revision = 1, compatible = 1)
@Version(major = 1, minor = 0, revision = 2, compatible = 1)
public class LoginSecurity implements Module, Listener
{
private boolean enabled = false;
@ -42,7 +42,7 @@ public class LoginSecurity implements Module, Listener
@Override
public void onEnable()
{
Map<Serializable, Serializable> config = JSONManager.getConfiguration("LoginSecurity.json");
Map<Serializable, Serializable> config = JSONManager.getConfiguration("loginsecurity.json");
if (config == null || !config.containsKey("database") || !config.containsKey("table"))
{
Utils.sendErrorMessage(Bukkit.getConsoleSender(), null,