Sync with L2jServer HighFive Jul 25th 2015.
This commit is contained in:
@@ -45,7 +45,7 @@ import java.util.logging.LogRecord;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.L2DatabaseFactory;
|
||||
import com.l2jserver.commons.database.pool.impl.ConnectionFactory;
|
||||
import com.l2jserver.gameserver.model.L2World;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.network.L2GameClient;
|
||||
@@ -578,7 +578,7 @@ public class LoginServerThread extends Thread
|
||||
|
||||
int chars = 0;
|
||||
List<Long> charToDel = new ArrayList<>();
|
||||
try (Connection con = L2DatabaseFactory.getInstance().getConnection();
|
||||
try (Connection con = ConnectionFactory.getInstance().getConnection();
|
||||
PreparedStatement ps = con.prepareStatement("SELECT deletetime FROM characters WHERE account_name=?"))
|
||||
{
|
||||
ps.setString(1, account);
|
||||
|
Reference in New Issue
Block a user