2 Commits

2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ bool ShouldClean(Actor* actor) {
// Mobs // Mobs
else if (en->isMob()) { else if (en->isMob()) {
if (Config->getValue<bool>({"CleanMobs", "Enabled"}, false)) { if (Config->getValue<bool>({"CleanMobs", "Enabled"}, false)) {
auto blacklist = Config->getValue<std::vector<std::string>>({"CleanMobs", "Blacklist"}, {}); auto blacklist = Config->getValue<std::vector<std::string>>({"CleanMobs", "BlackList"}, {});
for (auto& key : blacklist) { for (auto& key : blacklist) {
if (isMatch(type, key)) { if (isMatch(type, key)) {
return true; return true;