menuentryswapper: fix "use" being over prioritized.
This commit is contained in:
@@ -870,15 +870,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
|
|
||||||
if (this.shiftClickCustomization && shiftModifier && !option.equals("use"))
|
if (this.shiftClickCustomization && shiftModifier && !option.equals("use"))
|
||||||
{
|
{
|
||||||
Integer customOption = getSwapConfig(eventId);
|
final Integer customOption = getSwapConfig(eventId);
|
||||||
|
|
||||||
if (customOption != null && customOption == -1)
|
if (customOption != null && customOption == -1)
|
||||||
{
|
{
|
||||||
menuManager.addPriorityEntry("Use");
|
swap(client, "use", option, target, true);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
menuManager.removePriorityEntry("Use");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user