mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
...
This commit is contained in:
parent
5e27ff52b8
commit
42a3ec0561
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue