This commit is contained in:
boy0001 2014-10-20 22:58:40 +11:00
parent 5e27ff52b8
commit 42a3ec0561
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ public class PlotMain extends JavaPlugin {
* List of all plots
* DO NOT USE EXCEPT FOR DATABASE PURPOSES
*/
static HashMap<String, HashMap<PlotId, Plot>> plots;
private static HashMap<String, HashMap<PlotId, Plot>> plots;
/**
* All loaded plot worlds
*/

View File

@ -648,7 +648,7 @@ public class DBFunc {
stmt.executeUpdate();
stmt.close();
stmt = connection.prepareStatement("DELETE FROM `plot` WHERE `world` = ?");
stmt = connection.prepareStatement("DELETE FROM `plot` WHERE `plot_plot_id` = "+idstr+"");
stmt.setString(1, world);
stmt.executeUpdate();
stmt.close();