From e53d2ac44928126a6157edf5f60a6c939c1fb395 Mon Sep 17 00:00:00 2001 From: StealWonders <6114858+StealWonders@users.noreply.github.com> Date: Mon, 3 Oct 2022 21:51:17 +0200 Subject: [PATCH] Update the plot sign when a plot has been purchased (#3822) --- Core/src/main/java/com/plotsquared/core/command/Buy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Buy.java b/Core/src/main/java/com/plotsquared/core/command/Buy.java index 089bfb1bf..e8d585884 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Buy.java +++ b/Core/src/main/java/com/plotsquared/core/command/Buy.java @@ -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())