Update the plot sign when a plot has been purchased (#3822)

This commit is contained in:
StealWonders 2022-10-03 21:51:17 +02:00 committed by GitHub
parent 5786e8cc7a
commit e53d2ac449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ public class Buy extends Command {
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())