Skip to content

Commit

Permalink
Update the plot sign when a plot has been purchased (#3822)
Browse files Browse the repository at this point in the history
  • Loading branch information
StealWonders authored Oct 3, 2022
1 parent 5786e8c commit e53d2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/src/main/java/com/plotsquared/core/command/Buy.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public CompletableFuture<Boolean> execute(
plot.removeFlag(event.getFlag());
}
plot.setOwner(player.getUUID());
plot.getPlotModificationManager().setSign(player.getName());
player.sendMessage(
TranslatableCaption.of("working.claimed"),
Template.of("plot", plot.getId().toString())
Expand Down

0 comments on commit e53d2ac

Please sign in to comment.