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;
|
||||
}
|
||||
|
||||
@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(
|
||||
keyName = "hideDropRunecraftingPouch",
|
||||
name = "Hide Drop on RC pouches",
|
||||
description = "Hides the 'Drop' option when right clicking a Small, Medium, Large, or Giant pouch.",
|
||||
position = 5,
|
||||
position = 6,
|
||||
group = "Untradeables"
|
||||
)
|
||||
default boolean hideDropRunecraftingPouch()
|
||||
|
||||
@@ -305,6 +305,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
private boolean hideDestroyHerbsack;
|
||||
private boolean hideDestroyBoltpouch;
|
||||
private boolean hideDestroyGembag;
|
||||
private boolean hideDestroyLootingBag;
|
||||
private boolean hideDropRunecraftingPouch;
|
||||
private boolean hideCastToB;
|
||||
private Set<String> hideCastIgnoredToB;
|
||||
@@ -569,6 +570,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (this.hideDestroyLootingBag && entry.getTarget().contains("Looting bag"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (this.hideDestroyGembag && entry.getTarget().contains("Gem bag"))
|
||||
{
|
||||
continue;
|
||||
@@ -1924,6 +1929,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
this.hideDestroyCoalbag = config.hideDestroyCoalbag();
|
||||
this.hideDestroyHerbsack = config.hideDestroyHerbsack();
|
||||
this.hideDestroyBoltpouch = config.hideDestroyBoltpouch();
|
||||
this.hideDestroyLootingBag = config.hideDestroyLootingBag();
|
||||
this.hideDestroyGembag = config.hideDestroyGembag();
|
||||
this.hideDropRunecraftingPouch = config.hideDropRunecraftingPouch();
|
||||
this.hideCastToB = config.hideCastToB();
|
||||
|
||||
Reference in New Issue
Block a user