Fix menu swaps not working when left clicking items

This commit is contained in:
Lucas
2019-06-27 16:25:35 +02:00
parent 971549db3a
commit f2d633ae56
10 changed files with 477 additions and 416 deletions

View File

@@ -70,4 +70,17 @@ public class MenuEntry
* This is used for shift click
*/
private boolean forceLeftClick;
public static MenuEntry copy(MenuEntry src)
{
return new MenuEntry(
src.getOption(),
src.getTarget(),
src.getIdentifier(),
src.getType(),
src.getParam0(),
src.getParam1(),
src.isForceLeftClick()
);
}
}