spjspj - Sorcery count was double

This commit is contained in:
spjspj 2016-11-18 00:14:59 +11:00
parent 47874a7f03
commit d7b1ae68ed
2 changed files with 1 additions and 2 deletions

View file

@ -564,7 +564,6 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
artifactCounter, artifactCounter,
enchantmentCounter, enchantmentCounter,
instantCounter, instantCounter,
sorceryCounter,
planeswalkerCounter, planeswalkerCounter,
sorceryCounter, sorceryCounter,
tribalCounter tribalCounter

View file

@ -107,7 +107,7 @@ public class ChatManager {
} }
private boolean containsSwearing(String message) { private boolean containsSwearing(String message) {
if (message != null && message.toLowerCase().matches("^.*(anal|asshole|balls|bastard|bitch|blowjob|cock|crap|cunt|damn|dick|douche|fag|fuck|idiot|moron|piss|prick|pussy|rape|rapist|sex|screw you|shit|slut|vagina).*$")) { if (message != null && message.toLowerCase().matches("^.*(anal|asshole|balls|bastard|bitch|blowjob|cock|crap|cunt|cum|damn|dick|dildo|douche|fag|fuck|idiot|moron|piss|prick|pussy|rape|rapist|sex|screw|shit|slut|vagina).*$")) {
return true; return true;
} }
return false; return false;