Fixes some problems with getting scrapper data
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good

This commit is contained in:
2024-05-04 22:12:46 +02:00
parent 757fcdf139
commit e956c7dda7
3 changed files with 12 additions and 2 deletions

View File

@ -183,7 +183,7 @@ public class BlacksmithNPCSettings implements TraitSettings<BlacksmithSetting> {
*
* @return <p>All items reforge-able by this NPC</p>
*/
public List<Material> getItems() {
public List<Material> getReforgeAbleItems() {
Object currentValue = currentValues.get(BlacksmithSetting.REFORGE_ABLE_ITEMS);
if (currentValue == null || String.valueOf(currentValue).isEmpty()) {
return globalBlacksmithSettings.getReforgeAbleItems();