mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
...
This commit is contained in:
parent
5e27ff52b8
commit
42a3ec0561
@ -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 New Issue
Block a user