mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Remove redundant maxReconnects database connection property
This commit is contained in:
parent
daab095557
commit
94a566acc9
@ -27,6 +27,7 @@ Version 1.5.01-dev
|
|||||||
= Fixed bug where Alchemy would not fire BrewEvents
|
= Fixed bug where Alchemy would not fire BrewEvents
|
||||||
= Fixed bug with setting custom names and lore in treasures config
|
= Fixed bug with setting custom names and lore in treasures config
|
||||||
= Fixed bug which would cause a NullPointerException with getFlowerAndGrassXp()
|
= Fixed bug which would cause a NullPointerException with getFlowerAndGrassXp()
|
||||||
|
= Fixed bug which could cause and SQLException regarding the connection property 'maxReconnects'.
|
||||||
! Changed SecondaryAbilityEvent to implement Cancellable and it now gets fired for damage related secondary abilities
|
! Changed SecondaryAbilityEvent to implement Cancellable and it now gets fired for damage related secondary abilities
|
||||||
! Changed the way mcMMO handles bonus damage, updated for the new damage event API
|
! Changed the way mcMMO handles bonus damage, updated for the new damage event API
|
||||||
! Changed player data saving. Save tasks are now asynchronous
|
! Changed player data saving. Save tasks are now asynchronous
|
||||||
|
@ -618,7 +618,6 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
|||||||
connectionProperties.put("user", Config.getInstance().getMySQLUserName());
|
connectionProperties.put("user", Config.getInstance().getMySQLUserName());
|
||||||
connectionProperties.put("password", Config.getInstance().getMySQLUserPassword());
|
connectionProperties.put("password", Config.getInstance().getMySQLUserPassword());
|
||||||
connectionProperties.put("autoReconnect", "false");
|
connectionProperties.put("autoReconnect", "false");
|
||||||
connectionProperties.put("maxReconnects", "0");
|
|
||||||
connection = DriverManager.getConnection(connectionString, connectionProperties);
|
connection = DriverManager.getConnection(connectionString, connectionProperties);
|
||||||
|
|
||||||
mcMMO.p.getLogger().info("Connection to MySQL was a success!");
|
mcMMO.p.getLogger().info("Connection to MySQL was a success!");
|
||||||
|
Loading…
Reference in New Issue
Block a user