From 567b91fb6575c2a66f8c1878f96aa2248b74312a Mon Sep 17 00:00:00 2001 From: Nicholas Date: Wed, 22 Dec 2021 12:50:30 +0100 Subject: [PATCH] fix: fixed that user still can ban himself --- .../at/nipe/playlegend/playlegendbans/commands/BanCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bans-plugin/src/main/java/at/nipe/playlegend/playlegendbans/commands/BanCommand.java b/bans-plugin/src/main/java/at/nipe/playlegend/playlegendbans/commands/BanCommand.java index f748329..93626fe 100644 --- a/bans-plugin/src/main/java/at/nipe/playlegend/playlegendbans/commands/BanCommand.java +++ b/bans-plugin/src/main/java/at/nipe/playlegend/playlegendbans/commands/BanCommand.java @@ -69,6 +69,7 @@ public boolean onCommand(@Nonnull CommandSender sender, @Nonnull Command command this.resourceBundle, ContextProperties.of(buildPlayerContext(sender)), LocalKeys.ERRORS_BAN_SELF_BAN)); + return true; } var duration = "999y";