mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
Fixes #1922 Banned people can still "talk" in plot
This commit is contained in:
@ -1024,6 +1024,9 @@ import java.util.regex.Pattern;
|
||||
if (plot == null) {
|
||||
return;
|
||||
}
|
||||
if (plot.isDenied(plotPlayer.getUUID())) {
|
||||
return;
|
||||
}
|
||||
event.setCancelled(true);
|
||||
String message = event.getMessage();
|
||||
String format = Captions.PLOT_CHAT_FORMAT.getTranslated();
|
||||
|
Reference in New Issue
Block a user