Correct the message in debugging when unjailing
The debug message was set to always say mysql database instead of what it really was, sqlite or mysql.
This commit is contained in:
parent
890923fca7
commit
1648c04745
@ -1085,7 +1085,7 @@ public class JailIO {
|
|||||||
PreparedStatement pp = getConnection().prepareStatement("delete from `" + prefix + "prisoners` where uuid = ?");
|
PreparedStatement pp = getConnection().prepareStatement("delete from `" + prefix + "prisoners` where uuid = ?");
|
||||||
pp.setString(1, p.getUUID().toString());
|
pp.setString(1, p.getUUID().toString());
|
||||||
|
|
||||||
pl.debug("Removing " + p.getLastKnownName() + " (" + p.getUUID().toString() + ") from MySQL database.");
|
pl.debug("Removing " + p.getLastKnownName() + " (" + p.getUUID().toString() + ") from " + (storage == 2 ? "MySQL" : "SQLite") + " database.");
|
||||||
|
|
||||||
pp.executeUpdate();
|
pp.executeUpdate();
|
||||||
pp.close();
|
pp.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user