public virtual InventoryItem.MenuItemResult ExecuteMenuOption(InventoryItem.MenuItem option, IInventoryItem item) { InventoryItem.MenuItem menuItem = option; if (menuItem == InventoryItem.MenuItem.Info) { RPOS.OpenInfoWindow(this); return(InventoryItem.MenuItemResult.DoneOnClient); } if (menuItem != InventoryItem.MenuItem.Split) { return(InventoryItem.MenuItemResult.Unhandled); } item.inventory.SplitStack(item.slot); return(InventoryItem.MenuItemResult.Complete); }