mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Revert "Don't send chat spy to message sender"
This reverts commit a37ab10414
.
Let's not break plotchat when plotspy is enabled
This commit is contained in:
parent
86746e7843
commit
950640a557
@ -979,9 +979,6 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
.replace("%plot_id%", id.x + ";" + id.y).replace("%sender%", sender)
|
.replace("%plot_id%", id.x + ";" + id.y).replace("%sender%", sender)
|
||||||
.replace("%msg%", message);
|
.replace("%msg%", message);
|
||||||
for (Player player : spies) {
|
for (Player player : spies) {
|
||||||
if (player.equals(event.getPlayer())) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
player.sendMessage(spyMessage);
|
player.sendMessage(spyMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user