Skip to content

Commit

Permalink
mes: hide destroy for open sack/bag variants (open-osrs#208)
Browse files Browse the repository at this point in the history
* mes: open bag variants

* mes: open bag variants
  • Loading branch information
xKylee authored Apr 30, 2020
1 parent 1529348 commit 3be7123
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion menuentryswapper/menuentryswapper.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

version = "0.0.18"
version = "0.0.19"

project.extra["PluginName"] = "Menu Entry Swapper"
project.extra["PluginDescription"] = "Change the default option that is displayed when hovering over objects"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ private void onMenuOpened(MenuOpened event)
{
continue;
}
if (config.hideDestroyCoalbag() && entry.getTarget().contains("Coal bag"))
if (config.hideDestroyCoalbag() && (entry.getTarget().contains("Coal bag") || entry.getTarget().contains("Open coal sack")))
{
continue;
}
if (config.hideDestroyHerbsack() && entry.getTarget().contains("Herb sack"))
if (config.hideDestroyHerbsack() && (entry.getTarget().contains("Herb sack") || entry.getTarget().contains("Open herb sack")))
{
continue;
}
Expand All @@ -379,7 +379,7 @@ private void onMenuOpened(MenuOpened event)
{
continue;
}
if (config.hideDestroyGembag() && (entry.getTarget().contains("Gem bag") || entry.getTarget().contains("open gem bag")))
if (config.hideDestroyGembag() && (entry.getTarget().contains("Gem bag") || entry.getTarget().contains("Open gem bag")))
{
continue;
}
Expand Down

0 comments on commit 3be7123

Please sign in to comment.