From 2c199f1aadb92198342ce3e859606d8db946626f Mon Sep 17 00:00:00 2001 From: Vincent Stumpf Date: Fri, 23 Oct 2020 04:18:04 -0700 Subject: [PATCH] Fix items not being refineable (#5474) --- src/map/itemdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp index cd27762de4..9753f1e103 100644 --- a/src/map/itemdb.cpp +++ b/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")) {