Fix items not being refineable (#5474)

This commit is contained in:
Vincent Stumpf 2020-10-23 04:18:04 -07:00 committed by GitHub
parent ed473d066d
commit 2c199f1aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -494,10 +494,10 @@ uint64 ItemDatabase::parseBodyNode(const YAML::Node &node) {
if (!this->asBool(node, "Refineable", refine))
return 0;
item->flag.no_refine = refine;
item->flag.no_refine = !refine;
} else {
if (!exists)
item->flag.no_refine = false;
item->flag.no_refine = true;
}
if (this->nodeExists(node, "View")) {