diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp index a6777190b..b4ca490dd 100644 --- a/src/map/itemdb.cpp +++ b/src/map/itemdb.cpp @@ -652,6 +652,18 @@ uint64 ItemDatabase::parseBodyNode(const YAML::Node &node) { if (!exists) item->flag.dropEffect = DROPEFFECT_NONE; } + + if (this->nodeExists(flagNode, "NoAutoLoot")) { + bool active; + + if (!this->asBool(flagNode, "NoAutoLoot", active)) + return 0; + + item->flag.noautoloot = active; + } else { + i