Finishes the ActionCost implementation
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@ -222,15 +222,6 @@ public class GlobalScrapperSettings implements Settings<ScrapperSetting> {
|
||||
return asDouble(ScrapperSetting.ENCHANTED_BOOK_SALVAGE_BASE_COST);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the item cost of salvaging an enchanted book
|
||||
*
|
||||
* @return <p>The enchanted book salvage cost</p>
|
||||
*/
|
||||
public ItemStack getEnchantedBookItemCost() {
|
||||
return ScrapperSetting.ENCHANTED_BOOK_SALVAGE_ITEM_COST;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether to multiply the cost of salvaging enchanted books based on the number of enchantments
|
||||
*
|
||||
|
@ -307,8 +307,8 @@ public enum ScrapperSetting implements Setting {
|
||||
/**
|
||||
* The setting for the enchanted book item cost
|
||||
*/
|
||||
ENCHANTED_BOOK_SALVAGE_ITEM_COST("enchantedBookSalvageItemCost", SettingValueType.ITEM_STACK, null,
|
||||
"The item that needs to be provided in order to salvage an enchanted book", false, false),
|
||||
ENCHANTED_BOOK_SALVAGE_ITEM_COST("enchantedBookSalvageCost", SettingValueType.ADVANCED_COST, null,
|
||||
"The cost to pay in order to salvage an enchanted book", false, false),
|
||||
|
||||
/**
|
||||
* The setting for whether to multiply enchanted book cost
|
||||
|
Reference in New Issue
Block a user