menumanager: really fix the menus this time
This commit is contained in:
@@ -81,6 +81,7 @@ public class ComparableEntry
|
||||
this.type = e.getType();
|
||||
this.strictOption = true;
|
||||
}
|
||||
|
||||
boolean matches(MenuEntry entry)
|
||||
{
|
||||
String opt = Text.standardize(entry.getOption());
|
||||
|
||||
@@ -265,7 +265,7 @@ public class MenuManager
|
||||
{
|
||||
MenuEntry original = MenuEntry.copy(e);
|
||||
e.setType(newType);
|
||||
originalType = new EntryTypeMapping(new ComparableEntry(e), original);
|
||||
originalType = new EntryTypeMapping(new ComparableEntry(leftClickEntry), original);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user