change if to lower case
This commit is contained in:
parent
9a147fc40e
commit
e539d344b9
|
@ -12,10 +12,10 @@ public class DB
|
|||
|
||||
public DB(Plugin _plugin, Config _config)
|
||||
{
|
||||
if(_config.getDBType().toLowerCase().trim() == "MySQL")
|
||||
if(_config.getDBType().trim().equalsIgnoreCase("mysql"))
|
||||
m_DBClass = new MySQL();
|
||||
|
||||
if(_config.getDBType().toLowerCase().trim() == "SQLLite")
|
||||
if(_config.getDBType().trim().equalsIgnoreCase("sqllite"))
|
||||
m_DBClass = new SQLLite();
|
||||
|
||||
if(m_DBClass == null)
|
||||
|
|
Loading…
Reference in New Issue