Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2020-05-07 14:05:31 -04:00
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ public class Logic implements ApplicationListener{
if(state.isGame()){ if(state.isGame()){
if(!net.client()){ if(!net.client()){
state.enemies = Groups.unit.count(b -> b.team() == state.rules.waveTeam && b.type().isCounted); state.enemies = Groups.unit.count(u -> u.team() == state.rules.waveTeam && u.type().isCounted);
} }
if(!state.isPaused()){ if(!state.isPaused()){
+1 -1
View File
@@ -89,7 +89,7 @@ public class Administration{
public @Nullable String filterMessage(Playerc player, String message){ public @Nullable String filterMessage(Playerc player, String message){
String current = message; String current = message;
for(ChatFilter f : chatFilters){ for(ChatFilter f : chatFilters){
current = f.filter(player, message); current = f.filter(player, current);
if(current == null) return null; if(current == null) return null;
} }
return current; return current;
+3
View File
@@ -43,5 +43,8 @@
}, },
{ {
"address": "mindustry.kr" "address": "mindustry.kr"
},
{
"address": "mindustry.atannergaming.com"
} }
] ]