From c8c946cc10ac6c850dad5cbff0ed459344808dfd Mon Sep 17 00:00:00 2001 From: "Patrick \"IPat\" Hein" Date: Wed, 4 Aug 2021 20:59:19 +0200 Subject: [PATCH] Fix /p kick msg (#3186) * Negate mob-place flag debug message * fixed a little typo :) * Added check for dragon egg teleportation event https://github.com/IntellectualSites/PlotSquared/issues/3074 * Basic dragon egg interact bugfix (Left-click interaction) * Lifted admin if-condition out of roads (out-of-plot) only block (for animals) * Fix https://github.com/IntellectualSites/PlotSquared/issues/3185 /p kick missing permission feedback format fix * remove unnecessary import Co-authored-by: NotMyFault --- Core/src/main/java/com/plotsquared/core/command/Kick.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Kick.java b/Core/src/main/java/com/plotsquared/core/command/Kick.java index 2b565ff51..e51363166 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Kick.java +++ b/Core/src/main/java/com/plotsquared/core/command/Kick.java @@ -79,7 +79,7 @@ public class Kick extends SubCommand { } if ((!plot.hasOwner() || !plot.isOwner(player.getUUID())) && !Permissions .hasPermission(player, Permission.PERMISSION_ADMIN_COMMAND_KICK)) { - player.sendMessage(TranslatableCaption.of("permission.no_permission")); + player.sendMessage(TranslatableCaption.of("permission.no_plot_perms")); return false; }