Browse Source

Fix items not being refineable (#5474)

Vincent Stumpf 4 years ago
parent
commit
2c199f1aad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/map/itemdb.cpp

+ 2 - 2
src/map/itemdb.cpp

@@ -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")) {