mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
fixed auto/purge
This commit is contained in:
parent
6a238fe099
commit
8e8ff6d3aa
3 changed files with 23 additions and 12 deletions
|
@ -201,7 +201,7 @@ public class Auto extends SubCommand {
|
|||
}
|
||||
|
||||
public PlotId getLastPlot(String world) {
|
||||
if (PlotHelper.lastPlot == null) {
|
||||
if (PlotHelper.lastPlot == null || !PlotHelper.lastPlot.containsKey(world)) {
|
||||
PlotHelper.lastPlot.put(world, new PlotId(0,0));
|
||||
}
|
||||
return PlotHelper.lastPlot.get(world);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue