mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Notify the kicked person over the actor
This commit is contained in:
parent
a05dd19986
commit
c8406681d7
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user