remove looting bag destroy option (#1297)
remove looting bag destroy option
This commit is contained in:
@@ -1628,11 +1628,23 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "hideDestroyLootingBag",
|
||||||
|
name = "Hide Destroy on Looting bag",
|
||||||
|
description = "Hides the 'Destroy' option when right clicking a Looting bag.",
|
||||||
|
position = 5,
|
||||||
|
group = "Untradeables"
|
||||||
|
)
|
||||||
|
default boolean hideDestroyLootingBag()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "hideDropRunecraftingPouch",
|
keyName = "hideDropRunecraftingPouch",
|
||||||
name = "Hide Drop on RC pouches",
|
name = "Hide Drop on RC pouches",
|
||||||
description = "Hides the 'Drop' option when right clicking a Small, Medium, Large, or Giant pouch.",
|
description = "Hides the 'Drop' option when right clicking a Small, Medium, Large, or Giant pouch.",
|
||||||
position = 5,
|
position = 6,
|
||||||
group = "Untradeables"
|
group = "Untradeables"
|
||||||
)
|
)
|
||||||
default boolean hideDropRunecraftingPouch()
|
default boolean hideDropRunecraftingPouch()
|
||||||
|
|||||||
@@ -305,6 +305,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
private boolean hideDestroyHerbsack;
|
private boolean hideDestroyHerbsack;
|
||||||
private boolean hideDestroyBoltpouch;
|
private boolean hideDestroyBoltpouch;
|
||||||
private boolean hideDestroyGembag;
|
private boolean hideDestroyGembag;
|
||||||
|
private boolean hideDestroyLootingBag;
|
||||||
private boolean hideDropRunecraftingPouch;
|
private boolean hideDropRunecraftingPouch;
|
||||||
private boolean hideCastToB;
|
private boolean hideCastToB;
|
||||||
private Set<String> hideCastIgnoredToB;
|
private Set<String> hideCastIgnoredToB;
|
||||||
@@ -569,6 +570,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (this.hideDestroyLootingBag && entry.getTarget().contains("Looting bag"))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (this.hideDestroyGembag && entry.getTarget().contains("Gem bag"))
|
if (this.hideDestroyGembag && entry.getTarget().contains("Gem bag"))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
@@ -1924,6 +1929,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
this.hideDestroyCoalbag = config.hideDestroyCoalbag();
|
this.hideDestroyCoalbag = config.hideDestroyCoalbag();
|
||||||
this.hideDestroyHerbsack = config.hideDestroyHerbsack();
|
this.hideDestroyHerbsack = config.hideDestroyHerbsack();
|
||||||
this.hideDestroyBoltpouch = config.hideDestroyBoltpouch();
|
this.hideDestroyBoltpouch = config.hideDestroyBoltpouch();
|
||||||
|
this.hideDestroyLootingBag = config.hideDestroyLootingBag();
|
||||||
this.hideDestroyGembag = config.hideDestroyGembag();
|
this.hideDestroyGembag = config.hideDestroyGembag();
|
||||||
this.hideDropRunecraftingPouch = config.hideDropRunecraftingPouch();
|
this.hideDropRunecraftingPouch = config.hideDropRunecraftingPouch();
|
||||||
this.hideCastToB = config.hideCastToB();
|
this.hideCastToB = config.hideCastToB();
|
||||||
|
|||||||
Reference in New Issue
Block a user