Construction Swap Fix & Travis Fix

This commit is contained in:
Ganom
2019-05-30 14:19:52 -04:00
parent f73be7b163
commit 73dbcdc1b4
2 changed files with 3 additions and 2 deletions

View File

@@ -1216,7 +1216,7 @@ public class MenuEntrySwapperPlugin extends Plugin
{
if (temp.equalsIgnoreCase(Text.removeTags(entries[i].getTarget())))
{
if (entries[i].getType() == 3 || entries[i].getType() == 1002)
if (!entries[i].getOption().equalsIgnoreCase("remove"))
{
entries = ArrayUtils.remove(entries, i);
i--;
@@ -1224,6 +1224,7 @@ public class MenuEntrySwapperPlugin extends Plugin
}
}
}
client.setMenuEntries(entries);
}
}

View File

@@ -106,7 +106,7 @@ public interface NpcAggroAreaConfig extends Config
}
@ConfigItem(
keyName = "npcUnaggroShowNotWorkingOverlay",
keyName = "hideOverlayHint",
name = "Hide overlay hint",
description = "Hide overlay hint if plugin is enabled in unsupported area",
position = 6