Fixed purge command

This commit is contained in:
boy0001 2014-12-29 00:56:01 +11:00
parent bcd113146b
commit a3c8ba84ab
3 changed files with 10 additions and 4 deletions

View file

@ -866,7 +866,7 @@ public class SQLManager implements AbstractDB {
stmt.executeUpdate();
stmt.close();
stmt = SQLManager.this.connection.prepareStatement("DELETE FROM `" + prefix + "plot` WHERE `plot_plot_id` = " + idstr + "");
stmt = SQLManager.this.connection.prepareStatement("DELETE FROM `" + prefix + "plot` WHERE `id` = " + idstr + "");
stmt.setString(1, world);
stmt.executeUpdate();
stmt.close();