Skip to content

Commit

Permalink
fix: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsubasa6848 committed Mar 29, 2024
1 parent 2adf2d0 commit 7da05ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/Clean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ bool ShouldClean(Actor* actor) {
// Mobs
else if (en->isMob()) {
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) {
if (isMatch(type, key)) {
return true;
Expand Down

0 comments on commit 7da05ae

Please sign in to comment.