mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fixes #1922 Banned people can still "talk" in plot
This commit is contained in:
parent
c23086259d
commit
f518c47e09
1 changed files with 3 additions and 0 deletions
|
@ -1024,6 +1024,9 @@ import java.util.regex.Pattern;
|
||||||
if (plot == null) {
|
if (plot == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (plot.isDenied(plotPlayer.getUUID())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
String message = event.getMessage();
|
String message = event.getMessage();
|
||||||
String format = Captions.PLOT_CHAT_FORMAT.getTranslated();
|
String format = Captions.PLOT_CHAT_FORMAT.getTranslated();
|
||||||
|
|
Loading…
Reference in a new issue