From c8406681d7684d9e9453a050f0910d3e4f59b050 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 20 May 2021 21:22:00 +0200 Subject: [PATCH] Notify the kicked person over the actor --- 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 312546066..a4d40c96c 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Kick.java +++ b/Core/src/main/java/com/plotsquared/core/command/Kick.java @@ -133,7 +133,7 @@ public class Kick extends SubCommand { return; } Location spawn = this.worldUtil.getSpawn(location.getWorldName()); - player.sendMessage(TranslatableCaption.of("kick.you_got_kicked")); + player2.sendMessage(TranslatableCaption.of("kick.you_got_kicked")); if (plot.equals(spawn.getPlot())) { Location newSpawn = this.worldUtil.getSpawn(this.plotAreaManager.getAllWorlds()[0]); if (plot.equals(newSpawn.getPlot())) {