mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
Added /plot weanywhere
This commit is contained in:
parent
997b6e44b3
commit
e876a93ef6
6 changed files with 71 additions and 15 deletions
|
@ -163,7 +163,7 @@ import org.bukkit.entity.Player;
|
|||
if ((size_x == 1) && (size_z == 1)) {
|
||||
while (!br) {
|
||||
final Plot plot = PlotHelper.getPlot(world, Auto.lastPlot);
|
||||
if ((plot == null) || (plot.owner == null)) {
|
||||
if ((plot.owner == null)) {
|
||||
Claim.claimPlot(plr, plot, true, true);
|
||||
br = true;
|
||||
final PlotWorld pw = PlotMain.getWorldSettings(world);
|
||||
|
@ -212,6 +212,7 @@ import org.bukkit.entity.Player;
|
|||
}
|
||||
}
|
||||
}
|
||||
Auto.lastPlot = new PlotId(0, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue