DragonTechMC / DTPunishment

Sponge API 5/7 - Punishment and Chat Filter Plugin
http://www.dragontechmc.com/
4 stars 6 forks source link

Username + caps length issue #39

Open yepidoodles opened 6 years ago

yepidoodles commented 6 years ago

If the message includes a username, the filter ignores it (intended behavior), however if the remaining characters are less than "minimum_length"= It triggers the filter unfairly.

Screenshot from Gyazo

"minimum_length"= needs to be checked after usernames has been removed from the arguments.