mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 00:05:23 +07:00
Fix only the output of the last chat filter mattering (#1997)
This commit is contained in:
parent
98f012feb8
commit
8a48a8bf3d
@ -89,7 +89,7 @@ public class Administration{
|
||||
public @Nullable String filterMessage(Playerc player, String message){
|
||||
String current = message;
|
||||
for(ChatFilter f : chatFilters){
|
||||
current = f.filter(player, message);
|
||||
current = f.filter(player, current);
|
||||
if(current == null) return null;
|
||||
}
|
||||
return current;
|
||||
|
Loading…
Reference in New Issue
Block a user