diff --git a/ipowerfighter/ipowerfighter.gradle.kts b/ipowerfighter/ipowerfighter.gradle.kts index dbf10bb2..f76e1c6c 100644 --- a/ipowerfighter/ipowerfighter.gradle.kts +++ b/ipowerfighter/ipowerfighter.gradle.kts @@ -23,7 +23,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -version = "3.4.3" +version = "3.4.4" project.extra["PluginName"] = "iPowerfighter Plugin" project.extra["PluginDescription"] = "Illumine - Powerfighter plugin" diff --git a/ipowerfighter/src/main/java/net/runelite/client/plugins/ipowerfighter/iPowerFighterPlugin.java b/ipowerfighter/src/main/java/net/runelite/client/plugins/ipowerfighter/iPowerFighterPlugin.java index f0157c0a..7a858173 100644 --- a/ipowerfighter/src/main/java/net/runelite/client/plugins/ipowerfighter/iPowerFighterPlugin.java +++ b/ipowerfighter/src/main/java/net/runelite/client/plugins/ipowerfighter/iPowerFighterPlugin.java @@ -154,7 +154,7 @@ public class iPowerFighterPlugin extends Plugin List ammoLoot = new ArrayList<>(); List lootableItems = new ArrayList<>(); Set alchableItems = new HashSet<>(); - Set alchBlacklist = Set.of(ItemID.NATURE_RUNE, ItemID.FIRE_RUNE, ItemID.COINS_995); + Set alchBlacklist = Set.of(ItemID.NATURE_RUNE, ItemID.FIRE_RUNE, ItemID.COINS_995, ItemID.RUNE_POUCH, ItemID.HERB_SACK, ItemID.OPEN_HERB_SACK, ItemID.XERICS_TALISMAN, ItemID.HOLY_WRENCH); //Temp fix until isTradeable is fixed List alchLoot = new ArrayList<>(); ; MenuEntry targetMenu; @@ -357,13 +357,13 @@ public class iPowerFighterPlugin extends Plugin itemGeValue = utils.getOSBItem(itemID); } ItemDefinition itemDef = client.getItemDefinition(itemID); - if (itemDef != null) { + /* if (itemDef != null) { //Currently bugged (https://discord.com/channels/734831848173338684/744402742839345182/788226017978220544) if (!itemDef.isTradeable()) { log.debug("Tried to alch untradeable item {}, adding to blacklist", itemDef.getName()); alchBlacklist.add(itemID); return false; } - } + }*/ log.debug("Checking alch value of item: {}", itemDef.getName()); return config.alchItems() && (config.alchByValue() && itemDef.getHaPrice() > highAlchCost &&