Merge pull request #314 from xstupidcow/fix/missing-table-when-deleting-character #patch
Fix missing table when deleting character
This commit is contained in:
@@ -2377,7 +2377,7 @@ public class Character extends AbstractCharacterObject {
|
||||
ps.executeUpdate();
|
||||
}
|
||||
|
||||
String[] toDel = {"famelog", "inventoryitems", "keymap", "queststatus", "savedlocations", "trocklocations", "skillmacros", "skills", "eventstats", "server_queue"};
|
||||
String[] toDel = {"famelog", "inventoryitems", "keymap", "queststatus", "savedlocations", "trocklocations", "skillmacros", "skills", "eventstats" };
|
||||
for (String s : toDel) {
|
||||
Character.deleteWhereCharacterId(con, "DELETE FROM `" + s + "` WHERE characterid = ?", cid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user