Compare commits
2 Commits
+1
-1
Submodule SDK-GMLIB updated: 37d92200bd...ae86cc4327
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user