mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 12:16:44 +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;
|
return;
|
||||||
}
|
}
|
||||||
Location spawn = this.worldUtil.getSpawn(location.getWorldName());
|
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())) {
|
if (plot.equals(spawn.getPlot())) {
|
||||||
Location newSpawn = this.worldUtil.getSpawn(this.plotAreaManager.getAllWorlds()[0]);
|
Location newSpawn = this.worldUtil.getSpawn(this.plotAreaManager.getAllWorlds()[0]);
|
||||||
if (plot.equals(newSpawn.getPlot())) {
|
if (plot.equals(newSpawn.getPlot())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user