mirror of
https://github.com/correl/mage.git
synced 2024-12-01 11:09:56 +00:00
spjspj - Sorcery count was double
This commit is contained in:
parent
47874a7f03
commit
d7b1ae68ed
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue