diff --git a/CHANGELOG.md b/CHANGELOG.md index 78158a65..321e1374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The **"Breaking Changes"** listed below are changes that have been made in the d - Fix scripting API callback `onMapResized` not triggering. - Fix crash when importing AdvanceMap metatiles while `enable_triple_layer_metatiles` is enabled. - Fix `File -> Open Project` not resolving folder shortcuts. +- Fix bug where "Requires Itemfinder" checkbox is being checked by wrong data. ## [5.0.0] - 2022-10-30 ### Breaking Changes diff --git a/src/ui/eventframes.cpp b/src/ui/eventframes.cpp index 3cf3e059..b015283b 100644 --- a/src/ui/eventframes.cpp +++ b/src/ui/eventframes.cpp @@ -872,7 +872,7 @@ void HiddenItemFrame::initialize() { // underfoot if (projectConfig.getHiddenItemRequiresItemfinderEnabled()) { - this->check_itemfinder->setChecked(this->hiddenItem->getQuantity()); + this->check_itemfinder->setChecked(this->hiddenItem->getUnderfoot()); } this->hideable_itemfinder->setVisible(projectConfig.getHiddenItemRequiresItemfinderEnabled()); }