mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
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 <mc.cache@web.de>
This commit is contained in:
parent
a405611b3a
commit
c8c946cc10
@ -79,7 +79,7 @@ public class Kick extends SubCommand {
|
|||||||
}
|
}
|
||||||
if ((!plot.hasOwner() || !plot.isOwner(player.getUUID())) && !Permissions
|
if ((!plot.hasOwner() || !plot.isOwner(player.getUUID())) && !Permissions
|
||||||
.hasPermission(player, Permission.PERMISSION_ADMIN_COMMAND_KICK)) {
|
.hasPermission(player, Permission.PERMISSION_ADMIN_COMMAND_KICK)) {
|
||||||
player.sendMessage(TranslatableCaption.of("permission.no_permission"));
|
player.sendMessage(TranslatableCaption.of("permission.no_plot_perms"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user