Fixed Clans repository so it uses the pool.
This commit is contained in:
parent
7fd08c6b7b
commit
98b14c9c7e
@ -9,6 +9,7 @@ import java.util.UUID;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import mineplex.core.common.util.NautHashMap;
|
||||
import mineplex.core.database.DBPool;
|
||||
import mineplex.core.database.RepositoryBase;
|
||||
import mineplex.core.database.ResultSetCallable;
|
||||
import mineplex.core.database.column.ColumnBoolean;
|
||||
@ -59,7 +60,7 @@ public class ClanRepository extends RepositoryBase
|
||||
|
||||
public ClanRepository(JavaPlugin plugin, String serverName)
|
||||
{
|
||||
super(plugin, "jdbc:mysql://db.mineplex.com:3306/Account?autoReconnect=true&failOverReadOnly=false&maxReconnects=10", "root", "tAbechAk3wR7tuTh");
|
||||
super(plugin, DBPool.ACCOUNT);
|
||||
|
||||
_serverName = serverName;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user