mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Don't unclaim claimed plots with /p claim
This commit is contained in:
parent
540f4c0958
commit
25100c46f7
@ -115,6 +115,7 @@ public class Claim extends SubCommand {
|
|||||||
|
|
||||||
if (!plot.canClaim(player)) {
|
if (!plot.canClaim(player)) {
|
||||||
player.sendMessage(TranslatableCaption.of("working.plot_is_claimed"));
|
player.sendMessage(TranslatableCaption.of("working.plot_is_claimed"));
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
if (schematic != null && !schematic.isEmpty()) {
|
if (schematic != null && !schematic.isEmpty()) {
|
||||||
if (area.isSchematicClaimSpecify()) {
|
if (area.isSchematicClaimSpecify()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user