From 4622f4b51de7f1ab034c1f5cf22eca5d483cf922 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Fri, 9 Oct 2020 20:21:02 +0200 Subject: [PATCH] Fix plot leave --- Core/src/main/java/com/plotsquared/core/command/Leave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Leave.java b/Core/src/main/java/com/plotsquared/core/command/Leave.java index 7afa25ff7..afb65e8d9 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Leave.java +++ b/Core/src/main/java/com/plotsquared/core/command/Leave.java @@ -58,7 +58,7 @@ public class Leave extends Command { RunnableVal2 whenDone) throws CommandException { final Plot plot = check(player.getCurrentPlot(), TranslatableCaption.of("errors.not_in_plot")); checkTrue(plot.hasOwner(), TranslatableCaption.of("info.plot_unowned")); - checkTrue(plot.isAdded(player.getUUID()), TranslatableCaption.of("member.not_added_trusted")); + checkTrue(plot.isAdded(player.getUUID()), TranslatableCaption.of("members.not_added_trusted")); if (args.length == 0) { sendUsage(player); return CompletableFuture.completedFuture(false);